diff options
author | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-04-28 23:45:12 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-05-01 17:53:41 +0200 |
commit | f54c7b5898d31eda3d6608da13b55c0466ba49fe (patch) | |
tree | 9ad43de2520c5ec9f5499e4448ead398a55ec360 /scripts/recordmcount.pl | |
parent | riscv: Remove 32b kernel mapping from page table dump (diff) | |
download | linux-f54c7b5898d31eda3d6608da13b55c0466ba49fe.tar.xz linux-f54c7b5898d31eda3d6608da13b55c0466ba49fe.zip |
RISC-V: Always define XIP_FIXUP
XIP depends on MMU, but XIP_FIXUP is used throughout the kernel in
order to avoid excessive ifdefs. This just makes sure to always define
XIP_FIXUP, which will fix MMU=n builds. XIP_OFFSET is used by assembly
but XIP_FIXUP is C-only, so they're split.
Fixes: 44c922572952 ("RISC-V: enable XIP")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Tested-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'scripts/recordmcount.pl')
0 files changed, 0 insertions, 0 deletions