inotify: fix race
[linux-2.6.22.y-op.git] / include / asm-i386 / i8253.h
blob6cb0dd4dcddef8c1e89791fe78c64aa8185befad
1 #ifndef __ASM_I8253_H__
2 #define __ASM_I8253_H__
4 #include <linux/clockchips.h>
6 extern spinlock_t i8253_lock;
8 extern struct clock_event_device *global_clock_event;
10 /**
11 * pit_interrupt_hook - hook into timer tick
12 * @regs: standard registers from interrupt
14 * Call the global clock event handler.
15 **/
16 static inline void pit_interrupt_hook(void)
18 global_clock_event->event_handler(global_clock_event);
21 #endif /* __ASM_I8253_H__ */