Commit 7cf37e87 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Ingo Molnar

time: Fix legacy arch fallout

The xtime/dotimer cleanup broke architectures which do not implement
clockevents. Time to send out another __do_IRQ threat.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reported-by: default avatarIngo Molnar <mingo@elte.hu>
Cc: Torben Hohn <torbenh@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: johnstul@us.ibm.com
Cc: yong.zhang0@gmail.com
Cc: hch@infradead.org
LKML-Reference: <20110127145905.23248.30458.stgit@localhost>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent e2830b5c
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
#include <linux/hrtimer.h> #include <linux/hrtimer.h>
#include <linux/tick.h> #include <linux/tick.h>
#ifdef CONFIG_GENERIC_CLOCKEVENTS_BUILD
#define TICK_DO_TIMER_NONE -1 #define TICK_DO_TIMER_NONE -1
#define TICK_DO_TIMER_BOOT -2 #define TICK_DO_TIMER_BOOT -2
...@@ -135,5 +137,7 @@ static inline int tick_device_is_functional(struct clock_event_device *dev) ...@@ -135,5 +137,7 @@ static inline int tick_device_is_functional(struct clock_event_device *dev)
return !(dev->features & CLOCK_EVT_FEAT_DUMMY); return !(dev->features & CLOCK_EVT_FEAT_DUMMY);
} }
#endif
extern void do_timer(unsigned long ticks); extern void do_timer(unsigned long ticks);
extern seqlock_t xtime_lock; extern seqlock_t xtime_lock;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment