[PATCH] KCONFIG: fix pseudo dependency between K8_NUMA and X86_64_ACPI_NUMA config options

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: James C. Georgas
Date: Sunday, September 9, 2007 - 6:19 am

On Sun, 2007-09-09 at 11:07 +0200, Andi Kleen wrote:

How's this?


From: James C. Georgas <jgeorgas@georgas.ca>
Date: Sun, 9 Sep 2007 08:27:46 -0400
Subject: [PATCH] Signed-off-by: James C. Georgas <jgeorgas@georgas.ca>

Changed K8_NUMA from "depends on PCI" to "select PCI", like X86_64_ACPI_NUMA is. This fixes the pseudo dependency between X86_64_ACPI_NUMA and K8_NUMA (i.e. selecting X86_64_ACPI_NUMA would cause PCI to be selected, which then made K8_NUMA visible, because its PCI dependency was now satisfied).
---
 arch/x86_64/Kconfig |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig
index ffa0364..bdeeb25 100644
--- a/arch/x86_64/Kconfig
+++ b/arch/x86_64/Kconfig
@@ -357,7 +357,8 @@ config NUMA
 
 config K8_NUMA
        bool "Old style AMD Opteron NUMA detection"
-       depends on NUMA && PCI
+       depends on NUMA
+       select PCI
        default y
        help
         Enable K8 NUMA node topology detection.  You should say Y here if
-- 
1.5.1.6


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
broken ACPI NUMA config option, James C. Georgas, (Sat Sep 8, 3:51 pm)
Re: broken ACPI NUMA config option, James C. Georgas, (Sat Sep 8, 3:54 pm)
Re: broken ACPI NUMA config option, James C. Georgas, (Sat Sep 8, 4:33 pm)
Re: broken ACPI NUMA config option, Randy Dunlap, (Sat Sep 8, 6:09 pm)
Re: broken ACPI NUMA config option, Randy Dunlap, (Sat Sep 8, 6:16 pm)
Re: broken ACPI NUMA config option, James C. Georgas, (Sat Sep 8, 6:22 pm)
Re: broken ACPI NUMA config option, James C. Georgas, (Sat Sep 8, 8:48 pm)
Re: broken ACPI NUMA config option, Yinghai Lu, (Sat Sep 8, 9:24 pm)
Re: broken ACPI NUMA config option, Randy Dunlap, (Sat Sep 8, 10:00 pm)
Re: broken ACPI NUMA config option, Andi Kleen, (Sun Sep 9, 2:07 am)
[PATCH] KCONFIG: fix pseudo dependency between K8_NUMA and ..., James C. Georgas, (Sun Sep 9, 6:19 am)
Re: broken ACPI NUMA config option, James C. Georgas, (Sun Sep 9, 6:41 am)
Re: broken ACPI NUMA config option, Randy Dunlap, (Sun Sep 9, 10:32 am)