From 8d460a573e2a2ac4834636903865a0428ad0e629 Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Tue, 23 Jun 2009 00:12:01 +0200 Subject: S3C24x0: extract interrupts from timer Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- cpu/arm920t/interrupts.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'cpu/arm920t/interrupts.c') diff --git a/cpu/arm920t/interrupts.c b/cpu/arm920t/interrupts.c index 539eb5c451..561083ec73 100644 --- a/cpu/arm920t/interrupts.c +++ b/cpu/arm920t/interrupts.c @@ -32,16 +32,12 @@ #include #include +#if defined (CONFIG_ARCH_INTEGRATOR) void do_irq (struct pt_regs *pt_regs) { -#if defined (ARM920_IRQ_CALLBACK) - ARM920_IRQ_CALLBACK(); -#elif defined (CONFIG_ARCH_INTEGRATOR) /* ASSUMED to be a timer interrupt */ /* Just clear it - count handled in */ /* integratorap.c */ *(volatile ulong *)(CONFIG_SYS_TIMERBASE + 0x0C) = 0; -#else -#error do_irq() not defined for this cpu type -#endif } +#endif -- cgit v1.2.1