summaryrefslogtreecommitdiffstats
path: root/cpu/arm920t/interrupts.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-06-23 00:12:01 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-07-06 21:52:30 +0200
commit798bf9a9ade1cfbe85a16d180cad720927d8e10a (patch)
treecbc48de57fa5a96795cd902f17a73baf74a4556c /cpu/arm920t/interrupts.c
parent06e758e75c79ce8761866bf8165c443584a20893 (diff)
downloadtalos-obmc-uboot-798bf9a9ade1cfbe85a16d180cad720927d8e10a.tar.gz
talos-obmc-uboot-798bf9a9ade1cfbe85a16d180cad720927d8e10a.zip
arm920t/interrupts: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'cpu/arm920t/interrupts.c')
-rw-r--r--cpu/arm920t/interrupts.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpu/arm920t/interrupts.c b/cpu/arm920t/interrupts.c
index ea24cdf68b..539eb5c451 100644
--- a/cpu/arm920t/interrupts.c
+++ b/cpu/arm920t/interrupts.c
@@ -30,9 +30,8 @@
*/
#include <common.h>
-
-#ifdef CONFIG_USE_IRQ
#include <asm/proc-armv/ptrace.h>
+
void do_irq (struct pt_regs *pt_regs)
{
#if defined (ARM920_IRQ_CALLBACK)
@@ -46,4 +45,3 @@ void do_irq (struct pt_regs *pt_regs)
#error do_irq() not defined for this cpu type
#endif
}
-#endif
OpenPOWER on IntegriCloud