Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: db98e0b434a6265c451ffe94ec0a29b8d0aaf587 authored by Linus Torvalds on 16 March 2007, 00:20:01 UTC
Linux 2.6.21-rc4
Tip revision: db98e0b
i8253.h
#ifndef __ASM_I8253_H__
#define __ASM_I8253_H__

#include <linux/clockchips.h>

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__ */
back to top