Gentoo Archives: gentoo-commits

From: "Daniel Drake (dsd)" <dsd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] linux-patches r1301 - genpatches-2.6/trunk/2.6.24
Date: Fri, 02 May 2008 16:59:52
Message-Id: E1Jrybt-0005qJ-GR@stork.gentoo.org
1 Author: dsd
2 Date: 2008-05-02 16:59:48 +0000 (Fri, 02 May 2008)
3 New Revision: 1301
4
5 Added:
6 genpatches-2.6/trunk/2.6.24/1700_x86-defconfig.patch
7 Modified:
8 genpatches-2.6/trunk/2.6.24/0000_README
9 Log:
10 Fix import of default config on i386/x86_64
11
12 Modified: genpatches-2.6/trunk/2.6.24/0000_README
13 ===================================================================
14 --- genpatches-2.6/trunk/2.6.24/0000_README 2008-05-02 16:53:32 UTC (rev 1300)
15 +++ genpatches-2.6/trunk/2.6.24/0000_README 2008-05-02 16:59:48 UTC (rev 1301)
16 @@ -63,6 +63,10 @@
17 From: http://www.kernel.org
18 Desc: Linux 2.6.24.6
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: 2100_sd-sr-medium-detection.patch
25 From: http://bugs.gentoo.org/196879
26 Desc: Add early medium-not-present detection in sr/sd drivers
27
28 Added: genpatches-2.6/trunk/2.6.24/1700_x86-defconfig.patch
29 ===================================================================
30 --- genpatches-2.6/trunk/2.6.24/1700_x86-defconfig.patch (rev 0)
31 +++ genpatches-2.6/trunk/2.6.24/1700_x86-defconfig.patch 2008-05-02 16:59:48 UTC (rev 1301)
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 +Index: linux-2.6.24-gentoo-r6/arch/x86/Kconfig
64 +===================================================================
65 +--- linux-2.6.24-gentoo-r6.orig/arch/x86/Kconfig
66 ++++ linux-2.6.24-gentoo-r6/arch/x86/Kconfig
67 +@@ -116,6 +116,18 @@ config ARCH_SUPPORTS_OPROFILE
68 + bool
69 + default y
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 ZONE_DMA32
85 + bool
86
87 --
88 gentoo-commits@l.g.o mailing list