summaryrefslogtreecommitdiffstats
path: root/arch/riscv/mm
diff options
context:
space:
mode:
authorVitaly Wool <vitaly.wool@konsulko.com>2021-06-08 10:21:27 +0200
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-06-08 17:32:24 -0700
commitae3d69bcc455905bac1d08d3563e4e576028e896 (patch)
tree5c35f4d3ff0aae7982262578c3ebe8bb19b911df /arch/riscv/mm
parentefcec32fe84ab4ee886d3cba48839945fc0a9b35 (diff)
downloadlinux-ae3d69bcc455905bac1d08d3563e4e576028e896.tar.bz2
riscv: fix typo in init.c
Commit 010623568222 introduced a typo in "__initdata" spelling which led to build breakage for XIP. Fix that. Fixes: 010623568222 ("riscv: mm: init: Consolidate vars, functions") Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/mm')
-rw-r--r--arch/riscv/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c
index ae32f78207f0..e7b136abf90c 100644
--- a/arch/riscv/mm/init.c
+++ b/arch/riscv/mm/init.c
@@ -451,7 +451,7 @@ static uintptr_t load_sz __initdata;
#endif
#ifdef CONFIG_XIP_KERNEL
-static uintptr_t xiprom __inidata;
+static uintptr_t xiprom __initdata;
static uintptr_t xiprom_sz __initdata;
#define xiprom_sz (*((uintptr_t *)XIP_FIXUP(&xiprom_sz)))
#define xiprom (*((uintptr_t *)XIP_FIXUP(&xiprom)))