Gentoo Archives: gentoo-commits

From: "Daniel Drake (dsd)" <dsd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] linux-patches r1302 - genpatches-2.6/trunk/2.6.25
Date: Fri, 02 May 2008 17:03:17
Message-Id: E1JryfC-0005tZ-3e@stork.gentoo.org
1 Author: dsd
2 Date: 2008-05-02 17:03:13 +0000 (Fri, 02 May 2008)
3 New Revision: 1302
4
5 Added:
6 genpatches-2.6/trunk/2.6.25/1700_x86-defconfig.patch
7 Modified:
8 genpatches-2.6/trunk/2.6.25/0000_README
9 Log:
10 Fix import of default config on i386/x86_64
11
12 Modified: genpatches-2.6/trunk/2.6.25/0000_README
13 ===================================================================
14 --- genpatches-2.6/trunk/2.6.25/0000_README 2008-05-02 16:59:48 UTC (rev 1301)
15 +++ genpatches-2.6/trunk/2.6.25/0000_README 2008-05-02 17:03:13 UTC (rev 1302)
16 @@ -39,6 +39,10 @@
17 Individual Patch Descriptions:
18 --------------------------------------------------------------------------
19
20 +Patch: 1700_x86-defconfig.patch
21 +From: http://bugs.gentoo.org/215442
22 +Desc: Fix import of default config on i386/x86_64
23 +
24 Patch: 2705_alsa-hda-fujitsu.patch
25 From: Tony Vroon <chainsaw@g.o>
26 Desc: Fix docking station headphone port and PC speaker for Fujitsu ALC262
27
28 Added: genpatches-2.6/trunk/2.6.25/1700_x86-defconfig.patch
29 ===================================================================
30 --- genpatches-2.6/trunk/2.6.25/1700_x86-defconfig.patch (rev 0)
31 +++ genpatches-2.6/trunk/2.6.25/1700_x86-defconfig.patch 2008-05-02 17:03:13 UTC (rev 1302)
32 @@ -0,0 +1,53 @@
33 +From: Sam Ravnborg <sam@××××××××.org>
34 +Date: Tue, 29 Apr 2008 10:48:15 +0000 (+0200)
35 +Subject: x86: use defconfigs from x86/configs/*
36 +X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=b9b39bfba5b0de3418305f01cfa7bc55a16004e1
37 +
38 +x86: use defconfigs from x86/configs/*
39 +
40 +Daniel Drake <dsd@g.o> reported:
41 +
42 +In 2.6.23, if you unpacked a kernel source tarball and then
43 +ran "make menuconfig" you'd be presented with this message:
44 + # using defaults found in arch/i386/defconfig
45 +
46 +and the default options would be set.
47 +
48 +The same thing in 2.6.24 does not give you any "using defaults" message, and
49 +the default config options within menuconfig are rather blank (e.g. no PCI
50 +support). You can work around this by explicitly running "make defconfig"
51 +before menuconfig, but it would be nice to have the behaviour the way it was
52 +for 2.6.23 (and the way it still is for other archs).
53 +
54 +Fixed by adding a x86 specific defconfig list to Kconfig.
55 +
56 +Fixes: http://bugzilla.kernel.org/show_bug.cgi?id=10470
57 +Tested-by: dsd@g.o
58 +Signed-off-by: Sam Ravnborg <sam@××××××××.org>
59 +Signed-off-by: Ingo Molnar <mingo@××××.hu>
60 +Signed-off-by: Thomas Gleixner <tglx@××××××××××.de>
61 +---
62 +
63 +diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
64 +index 8030318..c3f8809 100644
65 +--- a/arch/x86/Kconfig
66 ++++ b/arch/x86/Kconfig
67 +@@ -25,6 +25,18 @@ config X86
68 + select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64)
69 + select HAVE_ARCH_KGDB if !X86_VOYAGER
70 +
71 ++config DEFCONFIG_LIST
72 ++ string
73 ++ depends on X86_32
74 ++ option defconfig_list
75 ++ default "arch/x86/configs/i386_defconfig"
76 ++
77 ++config DEFCONFIG_LIST
78 ++ string
79 ++ depends on X86_64
80 ++ option defconfig_list
81 ++ default "arch/x86/configs/x86_64_defconfig"
82 ++
83 +
84 + config GENERIC_LOCKBREAK
85 + def_bool n
86
87 --
88 gentoo-commits@l.g.o mailing list