Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

lib/xz: enable all filters by default in Kconfig

This restores the old behavior that existed before 2013-02-22, when
changes were made by 64dbfb444c150 ("decompressors: drop dependency on
CONFIG_EXPERT") and 5dc49c75a2 ("decompressors: make the default
XZ_DEC_* config match the selected architecture").

Disabling the filters only makes sense on embedded systems.

Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>
Acked-by: Kyle McMartin <kyle@infradead.org>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Phillip Lougher <phillip@lougher.demon.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Lasse Collin and committed by
Linus Torvalds
bf4d064d 18120627

+12 -12
+12 -12
lib/xz/Kconfig
··· 9 9 if XZ_DEC 10 10 11 11 config XZ_DEC_X86 12 - bool "x86 BCJ filter decoder" 13 - default y if X86 12 + bool "x86 BCJ filter decoder" if EXPERT 13 + default y 14 14 select XZ_DEC_BCJ 15 15 16 16 config XZ_DEC_POWERPC 17 - bool "PowerPC BCJ filter decoder" 18 - default y if PPC 17 + bool "PowerPC BCJ filter decoder" if EXPERT 18 + default y 19 19 select XZ_DEC_BCJ 20 20 21 21 config XZ_DEC_IA64 22 - bool "IA-64 BCJ filter decoder" 23 - default y if IA64 22 + bool "IA-64 BCJ filter decoder" if EXPERT 23 + default y 24 24 select XZ_DEC_BCJ 25 25 26 26 config XZ_DEC_ARM 27 - bool "ARM BCJ filter decoder" 28 - default y if ARM 27 + bool "ARM BCJ filter decoder" if EXPERT 28 + default y 29 29 select XZ_DEC_BCJ 30 30 31 31 config XZ_DEC_ARMTHUMB 32 - bool "ARM-Thumb BCJ filter decoder" 33 - default y if (ARM && ARM_THUMB) 32 + bool "ARM-Thumb BCJ filter decoder" if EXPERT 33 + default y 34 34 select XZ_DEC_BCJ 35 35 36 36 config XZ_DEC_SPARC 37 - bool "SPARC BCJ filter decoder" 38 - default y if SPARC 37 + bool "SPARC BCJ filter decoder" if EXPERT 38 + default y 39 39 select XZ_DEC_BCJ 40 40 41 41 endif