summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorH. Peter Anvin2009-01-05 00:41:25 +0100
committerH. Peter Anvin2009-01-05 00:53:35 +0100
commit2e9f3bddcbc711bb14d86c6f068a779bf3710247 (patch)
treebd59cd7b10f8881d89ee4f39b295520a6f18e217 /arch/x86/Kconfig
parentbzip2/lzma: handle failures from bzip2 and lzma correctly (diff)
downloadkernel-qcow2-linux-2e9f3bddcbc711bb14d86c6f068a779bf3710247.tar.gz
kernel-qcow2-linux-2e9f3bddcbc711bb14d86c6f068a779bf3710247.tar.xz
kernel-qcow2-linux-2e9f3bddcbc711bb14d86c6f068a779bf3710247.zip
bzip2/lzma: make config machinery an arch configurable
Impact: Bug fix (we should not show this menu on irrelevant architectures) Make the config machinery to drive the gzip/bzip2/lzma selection dependent on the architecture advertising HAVE_KERNEL_* so that we don't display this for architectures where it doesn't matter. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 862adb9bf0d4..7b66c34d0aae 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -39,6 +39,9 @@ config X86
select HAVE_GENERIC_DMA_COHERENT if X86_32
select HAVE_EFFICIENT_UNALIGNED_ACCESS
select USER_STACKTRACE_SUPPORT
+ select HAVE_KERNEL_GZIP
+ select HAVE_KERNEL_BZIP2
+ select HAVE_KERNEL_LZMA
config ARCH_DEFCONFIG
string