2 * linux/include/asm-arm/arch-cl7500/time.h
4 * Copyright (c) 1996-2000 Russell King.
7 * 24-Sep-1996 RMK Created
8 * 10-Oct-1996 RMK Brought up to date with arch-sa110eval
9 * 04-Dec-1997 RMK Updated for new arch/arm/time.c
12 extern void ioctime_init(void);
15 timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
22 /* Twinkle the lights. */
23 static int count, state = 0xff00;
27 *((volatile unsigned int *)LED_ADDRESS) = state;
34 * Set up timer interrupt.
36 void __init time_init(void)
40 timer_irq.handler = timer_interrupt;
42 setup_irq(IRQ_TIMER, &timer_irq);