[PATCH] kill include/linux/platform.h, default_idle() cleanup
authorAdrian Bunk <bunk@stusta.de>
Fri, 24 Mar 2006 11:15:57 +0000 (03:15 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Mar 2006 15:33:21 +0000 (07:33 -0800)
commitcdb0452789d365695b5b173542af9c7e3d24f185
treef8594a754736aecfb52d835a2e12f46a923e6ed6
parent008accbbae6b2f18c2039d563f28d46ff4388d36
[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>
16 files changed:
arch/cris/kernel/process.c
arch/h8300/kernel/process.c
arch/i386/kernel/apm.c
arch/i386/mach-visws/reboot.c
arch/ia64/kernel/setup.c
arch/m68k/kernel/process.c
arch/m68knommu/kernel/process.c
arch/parisc/kernel/process.c
arch/s390/kernel/process.c
arch/sh/kernel/process.c
arch/v850/kernel/process.c
arch/x86_64/kernel/process.c
include/asm-cris/system.h
include/asm-i386/system.h
include/asm-ia64/system.h
include/linux/platform.h [deleted file]