diff options
author | Vitaly Wool <vitaly.wool@konsulko.com> | 2021-06-08 10:21:27 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-06-08 17:32:24 -0700 |
commit | ae3d69bcc455905bac1d08d3563e4e576028e896 (patch) | |
tree | 5c35f4d3ff0aae7982262578c3ebe8bb19b911df /arch/riscv/mm | |
parent | efcec32fe84ab4ee886d3cba48839945fc0a9b35 (diff) |
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.c | 2 |
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))) |