diff options
| -rw-r--r-- | arch/x86/include/asm/do_timer.h | 16 | ||||
| -rw-r--r-- | arch/x86/kernel/time_32.c | 7 |
2 files changed, 4 insertions, 19 deletions
diff --git a/arch/x86/include/asm/do_timer.h b/arch/x86/include/asm/do_timer.h deleted file mode 100644 index 23ecda0b28a0..000000000000 --- a/arch/x86/include/asm/do_timer.h +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | /* defines for inline arch setup functions */ | ||
| 2 | #include <linux/clockchips.h> | ||
| 3 | |||
| 4 | #include <asm/i8259.h> | ||
| 5 | #include <asm/i8253.h> | ||
| 6 | |||
| 7 | /** | ||
| 8 | * do_timer_interrupt_hook - hook into timer tick | ||
| 9 | * | ||
| 10 | * Call the pit clock event handler. see asm/i8253.h | ||
| 11 | **/ | ||
| 12 | |||
| 13 | static inline void do_timer_interrupt_hook(void) | ||
| 14 | { | ||
| 15 | global_clock_event->event_handler(global_clock_event); | ||
| 16 | } | ||
diff --git a/arch/x86/kernel/time_32.c b/arch/x86/kernel/time_32.c index 89bbb52218b8..6fef4ea1e7a6 100644 --- a/arch/x86/kernel/time_32.c +++ b/arch/x86/kernel/time_32.c | |||
| @@ -28,6 +28,7 @@ | |||
| 28 | * serialize accesses to xtime/lost_ticks). | 28 | * serialize accesses to xtime/lost_ticks). |
| 29 | */ | 29 | */ |
| 30 | 30 | ||
| 31 | #include <linux/clockchips.h> | ||
| 31 | #include <linux/init.h> | 32 | #include <linux/init.h> |
| 32 | #include <linux/interrupt.h> | 33 | #include <linux/interrupt.h> |
| 33 | #include <linux/time.h> | 34 | #include <linux/time.h> |
| @@ -37,8 +38,8 @@ | |||
| 37 | #include <asm/hpet.h> | 38 | #include <asm/hpet.h> |
| 38 | #include <asm/time.h> | 39 | #include <asm/time.h> |
| 39 | #include <asm/timer.h> | 40 | #include <asm/timer.h> |
| 40 | 41 | #include <asm/i8259.h> | |
| 41 | #include <asm/do_timer.h> | 42 | #include <asm/i8253.h> |
| 42 | 43 | ||
| 43 | int timer_ack; | 44 | int timer_ack; |
| 44 | 45 | ||
| @@ -92,7 +93,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id) | |||
| 92 | } | 93 | } |
| 93 | #endif | 94 | #endif |
| 94 | 95 | ||
| 95 | do_timer_interrupt_hook(); | 96 | global_clock_event->event_handler(global_clock_event); |
| 96 | 97 | ||
| 97 | #ifdef CONFIG_MCA | 98 | #ifdef CONFIG_MCA |
| 98 | if (MCA_bus) { | 99 | if (MCA_bus) { |
