summaryrefslogtreecommitdiffstats
path: root/arch/nios2/cpu/exceptions.S
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-11-27 16:32:05 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-11-28 11:41:33 +0100
commit38884dabbe6a86feb5d9763cd160083f85b1848b (patch)
tree9c1e43114c0189e0e050fd0e78faa04803dcc7f0 /arch/nios2/cpu/exceptions.S
parent55ebf18c6603dd8d93c4a6a9d57ca390c9028c37 (diff)
downloadbarebox-38884dabbe6a86feb5d9763cd160083f85b1848b.tar.gz
barebox-38884dabbe6a86feb5d9763cd160083f85b1848b.tar.xz
remove irq support fragments
We never had interrupt support in barebox and we have no plans to add interrupt support. Even if we do I doubt the current fragments of irq support are helpful, so remove them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/nios2/cpu/exceptions.S')
-rw-r--r--arch/nios2/cpu/exceptions.S9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/nios2/cpu/exceptions.S b/arch/nios2/cpu/exceptions.S
index 8e024cefa3..402e5afd29 100644
--- a/arch/nios2/cpu/exceptions.S
+++ b/arch/nios2/cpu/exceptions.S
@@ -82,16 +82,7 @@ _exception:
rdctl et, ipending
beq et, r0, 0f
-#ifdef CONFIG_USE_IRQ
-
- /* HARDWARE INTERRUPT: Call interrupt handler */
- movhi r3, %hi(external_interrupt)
- ori r3, r3, %lo(external_interrupt)
- mov r4, sp /* ptr to regs */
- callr r3
-#else
br _exception_return
-#endif
/* Return address fixup: execution resumes by re-issue of
* interrupted instruction at ea-4 (ea == r29). Here we do