diff options
author | Bryan Wu <bryan.wu@canonical.com> | 2012-03-14 02:26:56 +0800 |
---|---|---|
committer | Bryan Wu <bryan.wu@canonical.com> | 2012-08-01 11:22:14 +0800 |
commit | fa8bbb13ab49e77c00fa09e5504ec25b7176fb4b (patch) | |
tree | 33bea9e45b5a7ba6c68a861f7ea94446d9d0f497 /arch/arm/kernel/time.c | |
parent | 18775a7bea8fbbebe8818db7a64aaeb40b40a0c5 (diff) | |
download | linux-fa8bbb13ab49e77c00fa09e5504ec25b7176fb4b.tar.gz linux-fa8bbb13ab49e77c00fa09e5504ec25b7176fb4b.tar.bz2 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/time.c')
-rw-r--r-- | arch/arm/kernel/time.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c index af2afb019672..09be0c3c9069 100644 --- a/arch/arm/kernel/time.c +++ b/arch/arm/kernel/time.c @@ -25,7 +25,6 @@ #include <linux/timer.h> #include <linux/irq.h> -#include <asm/leds.h> #include <asm/thread_info.h> #include <asm/sched_clock.h> #include <asm/stacktrace.h> @@ -80,21 +79,6 @@ u32 arch_gettimeoffset(void) } #endif /* CONFIG_ARCH_USES_GETTIMEOFFSET */ -#ifdef CONFIG_LEDS_TIMER -static inline void do_leds(void) -{ - static unsigned int count = HZ/2; - - if (--count == 0) { - count = HZ/2; - leds_event(led_timer); - } -} -#else -#define do_leds() -#endif - - #ifndef CONFIG_GENERIC_CLOCKEVENTS /* * Kernel system timer support. @@ -102,7 +86,6 @@ static inline void do_leds(void) void timer_tick(void) { profile_tick(CPU_PROFILING); - do_leds(); xtime_update(1); #ifndef CONFIG_SMP update_process_times(user_mode(get_irq_regs())); |