]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
i386: remove pit_interrupt_hook
authorChris Wright <chrisw@sous-sol.org>
Sat, 21 Jul 2007 15:10:08 +0000 (17:10 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 01:37:08 +0000 (18:37 -0700)
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>
include/asm-i386/i8253.h
include/asm-i386/mach-default/do_timer.h
include/asm-i386/mach-voyager/do_timer.h

index 6cb0dd4dcddef8c1e89791fe78c64aa8185befad..a06b8ec66ce0f658fb042ec0f5886f3e67a68c81 100644 (file)
@@ -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__ */
index 56e5689863aece4257d00395b66d6fa8ae8a489e..23ecda0b28a07cd1d55b27375e7e231024c8f2e6 100644 (file)
@@ -12,5 +12,5 @@
 
 static inline void do_timer_interrupt_hook(void)
 {
-       pit_interrupt_hook();
+       global_clock_event->event_handler(global_clock_event);
 }
index 60f9dcc15d5427c64ca4a0edd7d4a3adab6ddee8..bc2b5892630859f8c42441204d2beec90a2151dd 100644 (file)
@@ -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();
 }