diff options
author | Palmer Dabbelt <palmer@rivosinc.com> | 2022-04-19 20:02:16 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-05-25 14:43:33 -0700 |
commit | e7681beba992d5a196476d5d79dfcb48f2a2c477 (patch) | |
tree | 404652315465a559ad3f53da2653eed569f61396 /arch/riscv/kernel/head.S | |
parent | 1ae41598f482616449f869daf53eebe37973dc27 (diff) | |
download | linux-e7681beba992d5a196476d5d79dfcb48f2a2c477.tar.gz linux-e7681beba992d5a196476d5d79dfcb48f2a2c477.tar.bz2 linux-e7681beba992d5a196476d5d79dfcb48f2a2c477.zip |
RISC-V: Split out the XIP fixups into their own file
This was broken by the original refactoring (as the XIP definitions
depend on <asm/pgtable.h>) and then more broken by the merge (as I
accidentally took the old version). This fixes both breakages, while
also pulling this out of <asm/asm.h> to avoid polluting most assembly
files with the XIP fixups.
Fixes: bee7fbc38579 ("RISC-V CPU Idle Support")
Fixes: 63b13e64a829 ("RISC-V: Add arch functions for non-retentive suspend entry/exit")
Link: https://lore.kernel.org/r/20220420184056.7886-4-palmer@rivosinc.com
Reviewed-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/kernel/head.S')
-rw-r--r-- | arch/riscv/kernel/head.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/kernel/head.S b/arch/riscv/kernel/head.S index 893b8bb69391..273eb0fa1f50 100644 --- a/arch/riscv/kernel/head.S +++ b/arch/riscv/kernel/head.S @@ -14,6 +14,7 @@ #include <asm/cpu_ops_sbi.h> #include <asm/hwcap.h> #include <asm/image.h> +#include <asm/xip_fixup.h> #include "efi-header.S" __HEAD |