blob: bc2b5892630859f8c42441204d2beec90a2151dd [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/* defines for inline arch setup functions */
Thomas Gleixnere9e2cdb2007-02-16 01:28:04 -08002#include <linux/clockchips.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
Thomas Gleixnere9e2cdb2007-02-16 01:28:04 -08004#include <asm/voyager.h>
5#include <asm/i8253.h>
6
7/**
8 * do_timer_interrupt_hook - hook into timer tick
9 * @regs: standard registers from interrupt
10 *
11 * Call the pit clock event handler. see asm/i8253.h
12 **/
David Howells7d12e782006-10-05 14:55:46 +010013static inline void do_timer_interrupt_hook(void)
Linus Torvalds1da177e2005-04-16 15:20:36 -070014{
Chris Wrightbef9f9d2007-07-21 17:10:08 +020015 global_clock_event->event_handler(global_clock_event);
David Howells7d12e782006-10-05 14:55:46 +010016 voyager_timer_interrupt();
Linus Torvalds1da177e2005-04-16 15:20:36 -070017}
18