فهرست منبع

i386: remove pit_interrupt_hook

Remove pit_interrupt_hook as it adds just an extra layer.

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Chris Wright 18 سال پیش
والد
کامیت
bef9f9de32
3فایلهای تغییر یافته به همراه2 افزوده شده و 13 حذف شده
  1. 0 11
      include/asm-i386/i8253.h
  2. 1 1
      include/asm-i386/mach-default/do_timer.h
  3. 1 1
      include/asm-i386/mach-voyager/do_timer.h

+ 0 - 11
include/asm-i386/i8253.h

@@ -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__ */

+ 1 - 1
include/asm-i386/mach-default/do_timer.h

@@ -12,5 +12,5 @@
 
 static inline void do_timer_interrupt_hook(void)
 {
-	pit_interrupt_hook();
+	global_clock_event->event_handler(global_clock_event);
 }

+ 1 - 1
include/asm-i386/mach-voyager/do_timer.h

@@ -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();
 }