提交 bef9f9de 编写于 作者: C Chris Wright 提交者: Linus Torvalds

i386: remove pit_interrupt_hook

Remove pit_interrupt_hook as it adds just an extra layer.
Signed-off-by: NChris Wright <chrisw@sous-sol.org>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NAndi Kleen <ak@suse.de>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 8180a550
......@@ -7,15 +7,4 @@ extern spinlock_t i8253_lock;
extern struct clock_event_device *global_clock_event;
/**
* pit_interrupt_hook - hook into timer tick
* @regs: standard registers from interrupt
*
* Call the global clock event handler.
**/
static inline void pit_interrupt_hook(void)
{
global_clock_event->event_handler(global_clock_event);
}
#endif /* __ASM_I8253_H__ */
......@@ -12,5 +12,5 @@
static inline void do_timer_interrupt_hook(void)
{
pit_interrupt_hook();
global_clock_event->event_handler(global_clock_event);
}
......@@ -12,7 +12,7 @@
**/
static inline void do_timer_interrupt_hook(void)
{
pit_interrupt_hook();
global_clock_event->event_handler(global_clock_event);
voyager_timer_interrupt();
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册