riscv: fix typo in init.c
Commit0106235682
introduced a typo in "__initdata" spelling which led to build breakage for XIP. Fix that. Fixes:0106235682
("riscv: mm: init: Consolidate vars, functions") Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
parent
efcec32fe8
commit
ae3d69bcc4
|
@ -451,7 +451,7 @@ static uintptr_t load_sz __initdata;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_XIP_KERNEL
|
#ifdef CONFIG_XIP_KERNEL
|
||||||
static uintptr_t xiprom __inidata;
|
static uintptr_t xiprom __initdata;
|
||||||
static uintptr_t xiprom_sz __initdata;
|
static uintptr_t xiprom_sz __initdata;
|
||||||
#define xiprom_sz (*((uintptr_t *)XIP_FIXUP(&xiprom_sz)))
|
#define xiprom_sz (*((uintptr_t *)XIP_FIXUP(&xiprom_sz)))
|
||||||
#define xiprom (*((uintptr_t *)XIP_FIXUP(&xiprom)))
|
#define xiprom (*((uintptr_t *)XIP_FIXUP(&xiprom)))
|
||||||
|
|
Loading…
Reference in New Issue