summaryrefslogtreecommitdiff
path: root/arch/sparc/cpu/leon2/start.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/cpu/leon2/start.S')
-rw-r--r--arch/sparc/cpu/leon2/start.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/cpu/leon2/start.S b/arch/sparc/cpu/leon2/start.S
index b1f1eb5f3c..dd58262c2b 100644
--- a/arch/sparc/cpu/leon2/start.S
+++ b/arch/sparc/cpu/leon2/start.S
@@ -455,7 +455,7 @@ _irq_entry:
WRITE_PAUSE
mov %l7, %o0 ! irq level
set handler_irq, %o1
- set (CONFIG_SYS_RELOC_MONITOR_BASE-TEXT_BASE), %o2
+ set (CONFIG_SYS_RELOC_MONITOR_BASE-CONFIG_SYS_TEXT_BASE), %o2
add %o1, %o2, %o1
call %o1
add %sp, SF_REGS_SZ, %o1 ! pt_regs ptr