diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2008-05-26 09:47:55 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-06-05 18:13:16 +0100 |
commit | 482845a348f76fbf9cec6dda0f1eb113d4fafd9d (patch) | |
tree | 27e09edc6b35b485e07be75c408c7cd35aa80a2f | |
parent | 272bace7f3753ea8bf6ee80e3a6b32fa64190744 (diff) | |
download | op-kernel-dev-482845a348f76fbf9cec6dda0f1eb113d4fafd9d.zip op-kernel-dev-482845a348f76fbf9cec6dda0f1eb113d4fafd9d.tar.gz |
[MIPS] Fix build error - Delete debugging crap that crept in with CMP
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/mips-boards/generic/time.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/mips/mips-boards/generic/time.c b/arch/mips/mips-boards/generic/time.c index 008fd82..fe2cac1 100644 --- a/arch/mips/mips-boards/generic/time.c +++ b/arch/mips/mips-boards/generic/time.c @@ -58,27 +58,8 @@ static int mips_cpu_timer_irq; static int mips_cpu_perf_irq; extern int cp0_perfcount_irq; -DEFINE_PER_CPU(unsigned int, tickcount); -#define tickcount_this_cpu __get_cpu_var(tickcount) -static unsigned long ledbitmask; - static void mips_timer_dispatch(void) { -#if defined(CONFIG_MIPS_MALTA) || defined(CONFIG_MIPS_ATLAS) - /* - * Yes, this is very tacky, won't work as expected with SMTC and - * dyntick will break it, - * but it gives me a nice warm feeling during debug - */ -#define LEDBAR 0xbf000408 - if (tickcount_this_cpu++ >= HZ) { - tickcount_this_cpu = 0; - change_bit(smp_processor_id(), &ledbitmask); - smp_wmb(); /* Make sure every one else sees the change */ - /* This will pick up any recent changes made by other CPU's */ - *(unsigned int *)LEDBAR = ledbitmask; - } -#endif do_IRQ(mips_cpu_timer_irq); } |