Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23410
b: refs/heads/master
c: cdb0452
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Mar 24, 2006
1 parent d1716ba commit 12ff457
Show file tree
Hide file tree
Showing 17 changed files with 15 additions and 63 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 008accbbae6b2f18c2039d563f28d46ff4388d36
refs/heads/master: cdb0452789d365695b5b173542af9c7e3d24f185
3 changes: 1 addition & 2 deletions trunk/arch/cris/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
#include <asm/pgtable.h>
#include <asm/uaccess.h>
#include <asm/irq.h>
#include <asm/system.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/fs_struct.h>
Expand Down Expand Up @@ -194,8 +195,6 @@ EXPORT_SYMBOL(enable_hlt);
*/
void (*pm_idle)(void);

extern void default_idle(void);

/*
* The idle thread. There's no useful work to be
* done, so just try to conserve power and have a
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/h8300/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ asmlinkage void ret_from_fork(void);
* The idle loop on an H8/300..
*/
#if !defined(CONFIG_H8300H_SIM) && !defined(CONFIG_H8S_SIM)
void default_idle(void)
static void default_idle(void)
{
local_irq_disable();
if (!need_resched()) {
Expand All @@ -65,7 +65,7 @@ void default_idle(void)
local_irq_enable();
}
#else
void default_idle(void)
static void default_idle(void)
{
cpu_relax();
}
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/i386/kernel/apm.c
Original file line number Diff line number Diff line change
Expand Up @@ -824,8 +824,6 @@ static void apm_do_busy(void)

static void (*original_pm_idle)(void);

extern void default_idle(void);

/**
* apm_cpu_idle - cpu idling for APM capable Linux
*
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/i386/mach-visws/reboot.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include <linux/module.h>
#include <linux/smp.h>
#include <linux/delay.h>
#include <linux/platform.h>

#include <asm/io.h>
#include "piix4.h"
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/ia64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
#include <linux/serial_core.h>
#include <linux/efi.h>
#include <linux/initrd.h>
#include <linux/platform.h>
#include <linux/pm.h>
#include <linux/cpufreq.h>

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/m68k/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ unsigned long thread_saved_pc(struct task_struct *tsk)
/*
* The idle loop on an m68k..
*/
void default_idle(void)
static void default_idle(void)
{
if (!need_resched())
#if defined(MACH_ATARI_ONLY) && !defined(CONFIG_HADES)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/m68knommu/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ EXPORT_SYMBOL(pm_power_off);
/*
* The idle loop on an m68knommu..
*/
void default_idle(void)
static void default_idle(void)
{
local_irq_disable();
while (!need_resched()) {
Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/parisc/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@
#include <asm/uaccess.h>
#include <asm/unwind.h>

void default_idle(void)
{
barrier();
}

/*
* The idle thread. There's no useful work to be
* done, so just try to conserve power and have a
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/s390/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ extern void s390_handle_mcck(void);
/*
* The idle loop on a S390...
*/
void default_idle(void)
static void default_idle(void)
{
int cpu, rc;

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sh/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <linux/slab.h>
#include <linux/pm.h>
#include <linux/ptrace.h>
#include <linux/platform.h>
#include <linux/kallsyms.h>
#include <linux/kexec.h>

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/v850/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ extern void ret_from_fork (void);


/* The idle loop. */
void default_idle (void)
static void default_idle (void)
{
while (! need_resched ())
asm ("halt; nop; nop; nop; nop; nop" ::: "cc");
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void exit_idle(void)
* We use this if we don't have any better
* idle routine..
*/
void default_idle(void)
static void default_idle(void)
{
local_irq_enable();

Expand Down
2 changes: 2 additions & 0 deletions trunk/include/asm-cris/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,6 @@ static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int siz

#define arch_align_stack(x) (x)

void default_idle(void);

#endif
2 changes: 2 additions & 0 deletions trunk/include/asm-i386/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -499,4 +499,6 @@ static inline void sched_cacheflush(void)
extern unsigned long arch_align_stack(unsigned long sp);
extern void free_init_pages(char *what, unsigned long begin, unsigned long end);

void default_idle(void);

#endif
2 changes: 2 additions & 0 deletions trunk/include/asm-ia64/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ void sched_cacheflush(void);

#define arch_align_stack(x) (x)

void default_idle(void);

#endif /* __KERNEL__ */

#endif /* __ASSEMBLY__ */
Expand Down
43 changes: 0 additions & 43 deletions trunk/include/linux/platform.h

This file was deleted.

0 comments on commit 12ff457

Please sign in to comment.