blob: 9e5a459fd15b2f13e5e1e266999a08ef49a3026e [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
Thomas Gleixnere9e2cdb2007-02-16 01:28:04 -08009 *
10 * Call the pit clock event handler. see asm/i8253.h
11 **/
David Howells7d12e782006-10-05 14:55:46 +010012static inline void do_timer_interrupt_hook(void)
Linus Torvalds1da177e2005-04-16 15:20:36 -070013{
Chris Wrightbef9f9d2007-07-21 17:10:08 +020014 global_clock_event->event_handler(global_clock_event);
David Howells7d12e782006-10-05 14:55:46 +010015 voyager_timer_interrupt();
Linus Torvalds1da177e2005-04-16 15:20:36 -070016}
17