powerpc: Enable kernel XZ compression option on BOOK3S_32
authorAaro Koskinen <aaro.koskinen@iki.fi>
Tue, 19 Jun 2018 20:52:30 +0000 (23:52 +0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 4 Jul 2018 12:41:10 +0000 (22:41 +1000)
Enable kernel XZ compression option on BOOK3S_32. Tested on G4
PowerBook.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
[mpe: Use one select under the PPC symbol guarded by if PPC_BOOK3S]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig
arch/powerpc/platforms/Kconfig.cputype

index 9f2b75f..5eb4d96 100644 (file)
@@ -197,6 +197,7 @@ config PPC
        select HAVE_IOREMAP_PROT
        select HAVE_IRQ_EXIT_ON_IRQ_STACK
        select HAVE_KERNEL_GZIP
+       select HAVE_KERNEL_XZ                   if PPC_BOOK3S
        select HAVE_KPROBES
        select HAVE_KPROBES_ON_FTRACE
        select HAVE_KRETPROBES
index e6a1de5..e93d618 100644 (file)
@@ -74,7 +74,6 @@ config PPC_BOOK3S_64
        select HAVE_ARCH_TRANSPARENT_HUGEPAGE
        select ARCH_SUPPORTS_NUMA_BALANCING
        select IRQ_WORK
-       select HAVE_KERNEL_XZ
 
 config PPC_BOOK3E_64
        bool "Embedded processors"