xtensa: drop extraneous register load from initialize_mmu
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 15 Mar 2021 03:33:27 +0000 (20:33 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 4 Apr 2021 22:39:04 +0000 (15:39 -0700)
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>
arch/xtensa/include/asm/initialize_mmu.h

index 05cb13d..9793b49 100644 (file)
@@ -73,7 +73,7 @@
        _j      2f
 
        .align  4
-1:     movi    a2, 0x10000000
+1:
 
 #if CONFIG_KERNEL_LOAD_ADDRESS < 0x40000000ul
 #define TEMP_MAPPING_VADDR 0x40000000