aboutsummaryrefslogtreecommitdiff
path: root/arch/arc/lib
diff options
context:
space:
mode:
authorSimon Glass2023-02-01 13:19:44 -0700
committerTom Rini2023-02-07 14:33:48 -0500
commit8697ea97bd16f3c42f650ce87ad68036f0347303 (patch)
treef0c177d5fd1193dfea4a5c99a383a1f727b18534 /arch/arc/lib
parent9df5011e1e7c75a1a58928be7c8613214af2894c (diff)
arc: Drop CONFIG_MMU
This option is set in the Makefile but has no effect in the assembly code, i.e. the #ifdef branch is never used. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arc/lib')
-rw-r--r--arch/arc/lib/ints_low.S5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arc/lib/ints_low.S b/arch/arc/lib/ints_low.S
index 38c45c60a95..fb283f239ea 100644
--- a/arch/arc/lib/ints_low.S
+++ b/arch/arc/lib/ints_low.S
@@ -76,13 +76,8 @@
.endm
.macro SAVE_EXCEPTION_SOURCE
-#ifdef CONFIG_MMU
- /* If MMU exists exception faulting address is loaded in EFA reg */
- lr %r0, [%efa]
-#else
/* Otherwise in ERET (exception return) reg */
lr %r0, [%eret]
-#endif
.endm
ENTRY(memory_error)