arch: Move CONFIG_DEBUG_RODATA and CONFIG_SET_MODULE_RONX to be common
[platform/kernel/linux-rpi.git] / arch / arm / mm / Kconfig
index f68e8ec..419a035 100644 (file)
@@ -1051,18 +1051,6 @@ config ARCH_SUPPORTS_BIG_ENDIAN
          This option specifies the architecture can support big endian
          operation.
 
-config DEBUG_RODATA
-       bool "Make kernel text and rodata read-only"
-       depends on MMU && !XIP_KERNEL
-       default y if CPU_V7
-       help
-         If this is set, kernel text and rodata memory will be made
-         read-only, and non-text kernel memory will be made non-executable.
-         The tradeoff is that each region is padded to section-size (1MiB)
-         boundaries (because their permissions are different and splitting
-         the 1M pages into 4K ones causes TLB performance problems), which
-         can waste memory.
-
 config DEBUG_ALIGN_RODATA
        bool "Make rodata strictly non-executable"
        depends on DEBUG_RODATA