summary refs log tree commit diff
path: root/arch/openrisc
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmerdabbelt@google.com>2021-04-28 14:45:12 -0700
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-05-01 08:53:41 -0700
commitf54c7b5898d31eda3d6608da13b55c0466ba49fe (patch)
tree9ad43de2520c5ec9f5499e4448ead398a55ec360 /arch/openrisc
parent28252e08649f3aa06cb6b5420e29df7a9d5fe67d (diff)
downloadlinux-f54c7b5898d31eda3d6608da13b55c0466ba49fe.tar.gz
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 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions