diff options
author | Bryan Wu <bryan.wu@canonical.com> | 2012-03-13 19:26:56 +0100 |
---|---|---|
committer | Bryan Wu <bryan.wu@canonical.com> | 2012-08-01 05:22:14 +0200 |
commit | fa8bbb13ab49e77c00fa09e5504ec25b7176fb4b (patch) | |
tree | 33bea9e45b5a7ba6c68a861f7ea94446d9d0f497 /arch/arm/kernel/process.c | |
parent | ARM: mach-sa1100: retire custom LED code (diff) | |
download | linux-fa8bbb13ab49e77c00fa09e5504ec25b7176fb4b.tar.xz linux-fa8bbb13ab49e77c00fa09e5504ec25b7176fb4b.zip |
ARM: use new LEDS CPU trigger stub to replace old one
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Diffstat (limited to 'arch/arm/kernel/process.c')
-rw-r--r-- | arch/arm/kernel/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 19c95ea65b2f..864580af1678 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -31,9 +31,9 @@ #include <linux/random.h> #include <linux/hw_breakpoint.h> #include <linux/cpuidle.h> +#include <linux/leds.h> #include <asm/cacheflush.h> -#include <asm/leds.h> #include <asm/processor.h> #include <asm/thread_notify.h> #include <asm/stacktrace.h> @@ -189,7 +189,7 @@ void cpu_idle(void) while (1) { tick_nohz_idle_enter(); rcu_idle_enter(); - leds_event(led_idle_start); + ledtrig_cpu(CPU_LED_IDLE_START); while (!need_resched()) { #ifdef CONFIG_HOTPLUG_CPU if (cpu_is_offline(smp_processor_id())) @@ -220,7 +220,7 @@ void cpu_idle(void) } else local_irq_enable(); } - leds_event(led_idle_end); + ledtrig_cpu(CPU_LED_IDLE_END); rcu_idle_exit(); tick_nohz_idle_exit(); schedule_preempt_disabled(); |