From: Lasse Collin <lasse.col...@tukaani.org>

This restores the old behavior that existed before 2013-02-22.
Disabling the filters only makes sense on embedded systems.

Signed-off-by: Lasse Collin <lasse.col...@tukaani.org>
---

 lib/xz/Kconfig |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff -Nru linux-3.14-rc5.orig/lib/xz/Kconfig linux-3.14-rc5/lib/xz/Kconfig
--- linux-3.14-rc5.orig/lib/xz/Kconfig  2014-03-03 04:56:16.000000000 +0200
+++ linux-3.14-rc5/lib/xz/Kconfig       2014-03-03 13:26:58.402872951 +0200
@@ -9,33 +9,33 @@
 if XZ_DEC
 
 config XZ_DEC_X86
-       bool "x86 BCJ filter decoder"
-       default y if X86
+       bool "x86 BCJ filter decoder" if EXPERT
+       default y
        select XZ_DEC_BCJ
 
 config XZ_DEC_POWERPC
-       bool "PowerPC BCJ filter decoder"
-       default y if PPC
+       bool "PowerPC BCJ filter decoder" if EXPERT
+       default y
        select XZ_DEC_BCJ
 
 config XZ_DEC_IA64
-       bool "IA-64 BCJ filter decoder"
-       default y if IA64
+       bool "IA-64 BCJ filter decoder" if EXPERT
+       default y
        select XZ_DEC_BCJ
 
 config XZ_DEC_ARM
-       bool "ARM BCJ filter decoder"
-       default y if ARM
+       bool "ARM BCJ filter decoder" if EXPERT
+       default y
        select XZ_DEC_BCJ
 
 config XZ_DEC_ARMTHUMB
-       bool "ARM-Thumb BCJ filter decoder"
-       default y if (ARM && ARM_THUMB)
+       bool "ARM-Thumb BCJ filter decoder" if EXPERT
+       default y
        select XZ_DEC_BCJ
 
 config XZ_DEC_SPARC
-       bool "SPARC BCJ filter decoder"
-       default y if SPARC
+       bool "SPARC BCJ filter decoder" if EXPERT
+       default y
        select XZ_DEC_BCJ
 
 endif
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to