diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-03-24 06:15:57 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 10:33:21 -0500 |
commit | cdb0452789d365695b5b173542af9c7e3d24f185 (patch) | |
tree | f8594a754736aecfb52d835a2e12f46a923e6ed6 /arch/cris | |
parent | 008accbbae6b2f18c2039d563f28d46ff4388d36 (diff) |
[PATCH] kill include/linux/platform.h, default_idle() cleanup
include/linux/platform.h contained nothing that was actually used except
the default_idle() prototype, and is therefore removed by this patch.
This patch does the following with the platform specific default_idle()
functions on different architectures:
- remove the unused function:
- parisc
- sparc64
- make the needlessly global function static:
- arm
- h8300
- m68k
- m68knommu
- s390
- v850
- x86_64
- add a prototype in asm/system.h:
- cris
- i386
- ia64
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Patrick Mochel <mochel@digitalimplant.org>
Acked-by: Kyle McMartin <kyle@parisc-linux.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/kernel/process.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/cris/kernel/process.c b/arch/cris/kernel/process.c index 4ab3e87115b..123451c4415 100644 --- a/arch/cris/kernel/process.c +++ b/arch/cris/kernel/process.c | |||
@@ -116,6 +116,7 @@ | |||
116 | #include <asm/pgtable.h> | 116 | #include <asm/pgtable.h> |
117 | #include <asm/uaccess.h> | 117 | #include <asm/uaccess.h> |
118 | #include <asm/irq.h> | 118 | #include <asm/irq.h> |
119 | #include <asm/system.h> | ||
119 | #include <linux/module.h> | 120 | #include <linux/module.h> |
120 | #include <linux/spinlock.h> | 121 | #include <linux/spinlock.h> |
121 | #include <linux/fs_struct.h> | 122 | #include <linux/fs_struct.h> |
@@ -194,8 +195,6 @@ EXPORT_SYMBOL(enable_hlt); | |||
194 | */ | 195 | */ |
195 | void (*pm_idle)(void); | 196 | void (*pm_idle)(void); |
196 | 197 | ||
197 | extern void default_idle(void); | ||
198 | |||
199 | /* | 198 | /* |
200 | * The idle thread. There's no useful work to be | 199 | * The idle thread. There's no useful work to be |
201 | * done, so just try to conserve power and have a | 200 | * done, so just try to conserve power and have a |