[PATCH 05/13] ARM32: mark modules as incompatible with ARM_MMU_PERMISSIONS
Ahmad Fatoum
a.fatoum at barebox.org
Fri Jan 16 08:06:28 PST 2026
The module code currently assumes RWX. This can be fixed if desired, but
for now just reflect it in Kconfig to avoid the runtime panic.
Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
arch/arm/cpu/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/Kconfig b/arch/arm/cpu/Kconfig
index fe0d1e470578..04b1585679f3 100644
--- a/arch/arm/cpu/Kconfig
+++ b/arch/arm/cpu/Kconfig
@@ -4,7 +4,7 @@ comment "Processor Type"
config CPU_32
bool
- select HAS_MODULES
+ select HAS_MODULES if !ARM_MMU_PERMISSIONS
select HAVE_MOD_ARCH_SPECIFIC
select HAS_DMA
select ARCH_HAS_ZERO_PAGE
--
2.47.3
More information about the barebox
mailing list