Commit ae3d69bc authored by Vitaly Wool's avatar Vitaly Wool Committed by Palmer Dabbelt

riscv: fix typo in init.c

Commit 01062356 introduced a typo in "__initdata" spelling
which led to build breakage for XIP. Fix that.

Fixes: 01062356 ("riscv: mm: init: Consolidate vars, functions")
Signed-off-by: default avatarVitaly Wool <vitaly.wool@konsulko.com>
Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
parent efcec32f
......@@ -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)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment