diff options
author | Chris Wright <chrisw@sous-sol.org> | 2007-07-21 11:10:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-21 21:37:08 -0400 |
commit | bef9f9de32ec201ea5372caf2c76e7c71f80ee35 (patch) | |
tree | d6a856eb605785b3f75fa1a1ada6421bdcc31fc7 /include/asm-i386 | |
parent | 8180a550284bf2c8e13414082fc20b8983c2c401 (diff) |
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>
Diffstat (limited to 'include/asm-i386')
-rw-r--r-- | include/asm-i386/i8253.h | 11 | ||||
-rw-r--r-- | include/asm-i386/mach-default/do_timer.h | 2 | ||||
-rw-r--r-- | include/asm-i386/mach-voyager/do_timer.h | 2 |
3 files changed, 2 insertions, 13 deletions
diff --git a/include/asm-i386/i8253.h b/include/asm-i386/i8253.h index 6cb0dd4dcdde..a06b8ec66ce0 100644 --- a/include/asm-i386/i8253.h +++ b/include/asm-i386/i8253.h | |||
@@ -7,15 +7,4 @@ extern spinlock_t i8253_lock; | |||
7 | 7 | ||
8 | extern struct clock_event_device *global_clock_event; | 8 | extern struct clock_event_device *global_clock_event; |
9 | 9 | ||
10 | /** | ||
11 | * pit_interrupt_hook - hook into timer tick | ||
12 | * @regs: standard registers from interrupt | ||
13 | * | ||
14 | * Call the global clock event handler. | ||
15 | **/ | ||
16 | static inline void pit_interrupt_hook(void) | ||
17 | { | ||
18 | global_clock_event->event_handler(global_clock_event); | ||
19 | } | ||
20 | |||
21 | #endif /* __ASM_I8253_H__ */ | 10 | #endif /* __ASM_I8253_H__ */ |
diff --git a/include/asm-i386/mach-default/do_timer.h b/include/asm-i386/mach-default/do_timer.h index 56e5689863ae..23ecda0b28a0 100644 --- a/include/asm-i386/mach-default/do_timer.h +++ b/include/asm-i386/mach-default/do_timer.h | |||
@@ -12,5 +12,5 @@ | |||
12 | 12 | ||
13 | static inline void do_timer_interrupt_hook(void) | 13 | static inline void do_timer_interrupt_hook(void) |
14 | { | 14 | { |
15 | pit_interrupt_hook(); | 15 | global_clock_event->event_handler(global_clock_event); |
16 | } | 16 | } |
diff --git a/include/asm-i386/mach-voyager/do_timer.h b/include/asm-i386/mach-voyager/do_timer.h index 60f9dcc15d54..bc2b58926308 100644 --- a/include/asm-i386/mach-voyager/do_timer.h +++ b/include/asm-i386/mach-voyager/do_timer.h | |||
@@ -12,7 +12,7 @@ | |||
12 | **/ | 12 | **/ |
13 | static inline void do_timer_interrupt_hook(void) | 13 | static inline void do_timer_interrupt_hook(void) |
14 | { | 14 | { |
15 | pit_interrupt_hook(); | 15 | global_clock_event->event_handler(global_clock_event); |
16 | voyager_timer_interrupt(); | 16 | voyager_timer_interrupt(); |
17 | } | 17 | } |
18 | 18 | ||