We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4202f62 commit 13953e3Copy full SHA for 13953e3
arch/riscv/mm/init.c
@@ -49,8 +49,8 @@ u64 satp_mode __ro_after_init = SATP_MODE_32;
49
EXPORT_SYMBOL(satp_mode);
50
51
#ifdef CONFIG_64BIT
52
-bool pgtable_l4_enabled = IS_ENABLED(CONFIG_64BIT) && !IS_ENABLED(CONFIG_XIP_KERNEL);
53
-bool pgtable_l5_enabled = IS_ENABLED(CONFIG_64BIT) && !IS_ENABLED(CONFIG_XIP_KERNEL);
+bool pgtable_l4_enabled = !IS_ENABLED(CONFIG_XIP_KERNEL);
+bool pgtable_l5_enabled = !IS_ENABLED(CONFIG_XIP_KERNEL);
54
EXPORT_SYMBOL(pgtable_l4_enabled);
55
EXPORT_SYMBOL(pgtable_l5_enabled);
56
#endif
0 commit comments