diff options
Diffstat (limited to 'include/asm-i386/i8253.h')
-rw-r--r-- | include/asm-i386/i8253.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/include/asm-i386/i8253.h b/include/asm-i386/i8253.h index 6cb0dd4dcdde..7577d058d86e 100644 --- a/include/asm-i386/i8253.h +++ b/include/asm-i386/i8253.h | |||
@@ -3,19 +3,15 @@ | |||
3 | 3 | ||
4 | #include <linux/clockchips.h> | 4 | #include <linux/clockchips.h> |
5 | 5 | ||
6 | /* i8253A PIT registers */ | ||
7 | #define PIT_MODE 0x43 | ||
8 | #define PIT_CH0 0x40 | ||
9 | #define PIT_CH2 0x42 | ||
10 | |||
6 | extern spinlock_t i8253_lock; | 11 | extern spinlock_t i8253_lock; |
7 | 12 | ||
8 | extern struct clock_event_device *global_clock_event; | 13 | extern struct clock_event_device *global_clock_event; |
9 | 14 | ||
10 | /** | 15 | extern void setup_pit_timer(void); |
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 | 16 | ||
21 | #endif /* __ASM_I8253_H__ */ | 17 | #endif /* __ASM_I8253_H__ */ |