blob: 60f9dcc15d5427c64ca4a0edd7d4a3adab6ddee8 [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{
Thomas Gleixnere9e2cdb2007-02-16 01:28:04 -080015 pit_interrupt_hook();
David Howells7d12e782006-10-05 14:55:46 +010016 voyager_timer_interrupt();
Linus Torvalds1da177e2005-04-16 15:20:36 -070017}
18