[RFC 07/15] kconfig: remove CONFIG_COMAPT for big-endian (compat cods doesn't build atm)

Ben Dooks ben.dooks at codethink.co.uk
Fri Dec 20 07:57:53 PST 2024


---
 arch/riscv/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index d632bfad190c..5a72e7b31095 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -930,7 +930,7 @@ config ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION
 config COMPAT
 	bool "Kernel support for 32-bit U-mode"
 	default 64BIT
-	depends on 64BIT && MMU
+	depends on 64BIT && MMU && !CPU_BIG_ENDIAN
 	help
 	  This option enables support for a 32-bit U-mode running under a 64-bit
 	  kernel at S-mode. riscv32-specific components such as system calls,
-- 
2.37.2.352.g3c44437643




More information about the linux-riscv mailing list