As pointed out by Linus, there are Kconfig or .c files with long condition checks listing several architectures. These patches attempt to solve some of them. Sorry for the long cc but given that the patches are trivial it's not worth submitting individual patches for each architecture. Catalin Marinas (4): Clean up the long arch list for the UID16 config option Clean up the long arch list for the DEBUG_KMEMLEAK config option Clean up the long arch list for the DEBUG_BUGVERBOSE config option Clean up the "#if defined(arch)" list for exception-trace sysctl entry arch/arm/Kconfig | 2 ++ arch/arm64/Kconfig | 4 ++++ arch/blackfin/Kconfig | 1 + arch/cris/Kconfig | 1 + arch/frv/Kconfig | 2 ++ arch/h8300/Kconfig | 1 + arch/m32r/Kconfig | 1 + arch/m68k/Kconfig | 2 ++ arch/microblaze/Kconfig | 1 + arch/mips/Kconfig | 1 + arch/powerpc/Kconfig | 2 ++ arch/s390/Kconfig | 3 +++ arch/sh/Kconfig | 3 +++ arch/sparc/Kconfig | 5 +++++ arch/tile/Kconfig | 3 +++ arch/um/Kconfig.common | 1 + arch/x86/Kconfig | 4 ++++ init/Kconfig | 11 +++++++++-- kernel/sysctl.c | 3 +-- lib/Kconfig.debug | 16 ++++++++-------- 20 files changed, 55 insertions(+), 12 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html