diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-12-17 05:13:28 +0100 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2012-01-21 00:55:07 +0100 |
commit | 20a7b2c15171522d7c5005ff6d4aa1a0e8581e79 (patch) | |
tree | 9d2fb881ff249635ed4c11adc41acce7365da88d /arch/arm/mach-s5pc100/common.c | |
parent | ARM: mach-s5pv210: use standard arch_idle() (diff) | |
download | linux-20a7b2c15171522d7c5005ff6d4aa1a0e8581e79.tar.xz linux-20a7b2c15171522d7c5005ff6d4aa1a0e8581e79.zip |
ARM: mach-s5pc100: use standard arch_idle()
This is equivalent and more similar to existing architectures.
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'arch/arm/mach-s5pc100/common.c')
-rw-r--r-- | arch/arm/mach-s5pc100/common.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-s5pc100/common.c b/arch/arm/mach-s5pc100/common.c index c9095730a7f5..ff71e2d467c6 100644 --- a/arch/arm/mach-s5pc100/common.c +++ b/arch/arm/mach-s5pc100/common.c @@ -129,14 +129,6 @@ static struct map_desc s5pc100_iodesc[] __initdata = { } }; -static void s5pc100_idle(void) -{ - if (!need_resched()) - cpu_do_idle(); - - local_irq_enable(); -} - /* * s5pc100_map_io * @@ -210,10 +202,6 @@ core_initcall(s5pc100_core_init); int __init s5pc100_init(void) { printk(KERN_INFO "S5PC100: Initializing architecture\n"); - - /* set idle function */ - pm_idle = s5pc100_idle; - return device_register(&s5pc100_dev); } |