/[linux-patches]/genpatches-2.6/trunk/2.6.25/1700_x86-defconfig.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.25/1700_x86-defconfig.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1302 - (show annotations) (download)
Fri May 2 17:03:13 2008 UTC (10 years ago) by dsd
File size: 1786 byte(s)
Fix import of default config on i386/x86_64
1 From: Sam Ravnborg <sam@ravnborg.org>
2 Date: Tue, 29 Apr 2008 10:48:15 +0000 (+0200)
3 Subject: x86: use defconfigs from x86/configs/*
4 X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=b9b39bfba5b0de3418305f01cfa7bc55a16004e1
5
6 x86: use defconfigs from x86/configs/*
7
8 Daniel Drake <dsd@gentoo.org> reported:
9
10 In 2.6.23, if you unpacked a kernel source tarball and then
11 ran "make menuconfig" you'd be presented with this message:
12 # using defaults found in arch/i386/defconfig
13
14 and the default options would be set.
15
16 The same thing in 2.6.24 does not give you any "using defaults" message, and
17 the default config options within menuconfig are rather blank (e.g. no PCI
18 support). You can work around this by explicitly running "make defconfig"
19 before menuconfig, but it would be nice to have the behaviour the way it was
20 for 2.6.23 (and the way it still is for other archs).
21
22 Fixed by adding a x86 specific defconfig list to Kconfig.
23
24 Fixes: http://bugzilla.kernel.org/show_bug.cgi?id=10470
25 Tested-by: dsd@gentoo.org
26 Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
27 Signed-off-by: Ingo Molnar <mingo@elte.hu>
28 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
29 ---
30
31 diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
32 index 8030318..c3f8809 100644
33 --- a/arch/x86/Kconfig
34 +++ b/arch/x86/Kconfig
35 @@ -25,6 +25,18 @@ config X86
36 select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64)
37 select HAVE_ARCH_KGDB if !X86_VOYAGER
38
39 +config DEFCONFIG_LIST
40 + string
41 + depends on X86_32
42 + option defconfig_list
43 + default "arch/x86/configs/i386_defconfig"
44 +
45 +config DEFCONFIG_LIST
46 + string
47 + depends on X86_64
48 + option defconfig_list
49 + default "arch/x86/configs/x86_64_defconfig"
50 +
51
52 config GENERIC_LOCKBREAK
53 def_bool n

  ViewVC Help
Powered by ViewVC 1.1.20