projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RISC-V: Fix the XIP build
[linux-2.6-microblaze.git]
/
arch
/
riscv
/
mm
/
init.c
diff --git
a/arch/riscv/mm/init.c
b/arch/riscv/mm/init.c
index
7bc9a21
..
d2054a6
100644
(file)
--- a/
arch/riscv/mm/init.c
+++ b/
arch/riscv/mm/init.c
@@
-660,7
+660,7
@@
static __init pgprot_t pgprot_from_va(uintptr_t va)
}
#endif /* CONFIG_STRICT_KERNEL_RWX */
-#if
def CONFIG_64BIT
+#if
defined(CONFIG_64BIT) && !defined(CONFIG_XIP_KERNEL)
static void __init disable_pgtable_l5(void)
{
pgtable_l5_enabled = false;