diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-01-05 00:41:25 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-01-05 00:53:35 +0100 |
commit | 2e9f3bddcbc711bb14d86c6f068a779bf3710247 (patch) | |
tree | bd59cd7b10f8881d89ee4f39b295520a6f18e217 /arch | |
parent | bzip2/lzma: handle failures from bzip2 and lzma correctly (diff) | |
download | linux-2e9f3bddcbc711bb14d86c6f068a779bf3710247.tar.xz 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')
-rw-r--r-- | arch/x86/Kconfig | 3 |
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 |