summaryrefslogtreecommitdiff
path: root/arch/xtensa
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2021-03-14 20:33:27 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2021-04-04 15:39:04 -0700
commitf96c4ad6107ec3652c258864d4a2412aca51c923 (patch)
tree4041d8927ae2da6b29886f89d2fece9597ebfd28 /arch/xtensa
parentd4ff983e323870478f04054c1ba817b481eb1f19 (diff)
xtensa: drop extraneous register load from initialize_mmu
Commit a9f2fc628e3a ("xtensa: cleanup MMU setup and kernel layout macros") removed the use of a2 in the beginning of the initialize_mmu macro, but left the register load that is no longer used. Remove it as well. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/include/asm/initialize_mmu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/include/asm/initialize_mmu.h b/arch/xtensa/include/asm/initialize_mmu.h
index 05cb13dfe6f4..9793b49fc641 100644
--- a/arch/xtensa/include/asm/initialize_mmu.h
+++ b/arch/xtensa/include/asm/initialize_mmu.h
@@ -73,7 +73,7 @@
_j 2f
.align 4
-1: movi a2, 0x10000000
+1:
#if CONFIG_KERNEL_LOAD_ADDRESS < 0x40000000ul
#define TEMP_MAPPING_VADDR 0x40000000