1 /* 2 * linux/include/asm-arm/arch-anakin/time.h 3 * 4 * Copyright (C) 2001 Aleph One Ltd. for Acunia N.V. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. 9 * 10 * Changelog: 11 * 10-Apr-2001 TTC Created 12 */ 13 14 #ifndef __ASM_ARCH_TIME_H 15 #define __ASM_ARCH_TIME_H 16 17 static void anakin_timer_interrupt(int irq,void * dev_id,struct pt_regs * regs)18anakin_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) 19 { 20 do_timer(regs); 21 } 22 23 static inline void setup_timer(void)24setup_timer(void) 25 { 26 timer_irq.handler = anakin_timer_interrupt; 27 setup_arm_irq(IRQ_TICK, &timer_irq); 28 } 29 30 #endif 31