diff options
author | Len Brown <len.brown@intel.com> | 2005-08-24 12:10:49 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-08-24 12:11:34 -0400 |
commit | 76f58584824c61eb5b3bdbf019236815921d2e7c (patch) | |
tree | a8cb03339eddd5ada3c9d04b70b8bd6520e2bc14 /arch/x86_64 | |
parent | 8466361ad5233d4356a4601e16b66c25277920d1 (diff) |
[ACPI] delete CONFIG_ACPI_BUS
it is a synonym for CONFIG_ACPI
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/defconfig | 1 | ||||
-rw-r--r-- | arch/x86_64/kernel/genapic.c | 4 | ||||
-rw-r--r-- | arch/x86_64/kernel/mpparse.c | 4 |
3 files changed, 2 insertions, 7 deletions
diff --git a/arch/x86_64/defconfig b/arch/x86_64/defconfig index 8ccb4a12eed5..62abdc0adab8 100644 --- a/arch/x86_64/defconfig +++ b/arch/x86_64/defconfig | |||
@@ -149,7 +149,6 @@ CONFIG_ACPI_NUMA=y | |||
149 | CONFIG_ACPI_TOSHIBA=y | 149 | CONFIG_ACPI_TOSHIBA=y |
150 | CONFIG_ACPI_BLACKLIST_YEAR=2001 | 150 | CONFIG_ACPI_BLACKLIST_YEAR=2001 |
151 | # CONFIG_ACPI_DEBUG is not set | 151 | # CONFIG_ACPI_DEBUG is not set |
152 | CONFIG_ACPI_BUS=y | ||
153 | CONFIG_ACPI_EC=y | 152 | CONFIG_ACPI_EC=y |
154 | CONFIG_ACPI_POWER=y | 153 | CONFIG_ACPI_POWER=y |
155 | CONFIG_ACPI_PCI=y | 154 | CONFIG_ACPI_PCI=y |
diff --git a/arch/x86_64/kernel/genapic.c b/arch/x86_64/kernel/genapic.c index 30c843a5efdd..f031358906f5 100644 --- a/arch/x86_64/kernel/genapic.c +++ b/arch/x86_64/kernel/genapic.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <asm/smp.h> | 20 | #include <asm/smp.h> |
21 | #include <asm/ipi.h> | 21 | #include <asm/ipi.h> |
22 | 22 | ||
23 | #if defined(CONFIG_ACPI_BUS) | 23 | #if defined(CONFIG_ACPI) |
24 | #include <acpi/acpi_bus.h> | 24 | #include <acpi/acpi_bus.h> |
25 | #endif | 25 | #endif |
26 | 26 | ||
@@ -47,7 +47,7 @@ void __init clustered_apic_check(void) | |||
47 | u8 cluster_cnt[NUM_APIC_CLUSTERS]; | 47 | u8 cluster_cnt[NUM_APIC_CLUSTERS]; |
48 | int num_cpus = 0; | 48 | int num_cpus = 0; |
49 | 49 | ||
50 | #if defined(CONFIG_ACPI_BUS) | 50 | #if defined(CONFIG_ACPI) |
51 | /* | 51 | /* |
52 | * Some x86_64 machines use physical APIC mode regardless of how many | 52 | * Some x86_64 machines use physical APIC mode regardless of how many |
53 | * procs/clusters are present (x86_64 ES7000 is an example). | 53 | * procs/clusters are present (x86_64 ES7000 is an example). |
diff --git a/arch/x86_64/kernel/mpparse.c b/arch/x86_64/kernel/mpparse.c index 86445f320d86..8d8ed6ae1d0c 100644 --- a/arch/x86_64/kernel/mpparse.c +++ b/arch/x86_64/kernel/mpparse.c | |||
@@ -927,11 +927,9 @@ int mp_register_gsi(u32 gsi, int edge_level, int active_high_low) | |||
927 | if (acpi_irq_model != ACPI_IRQ_MODEL_IOAPIC) | 927 | if (acpi_irq_model != ACPI_IRQ_MODEL_IOAPIC) |
928 | return gsi; | 928 | return gsi; |
929 | 929 | ||
930 | #ifdef CONFIG_ACPI_BUS | ||
931 | /* Don't set up the ACPI SCI because it's already set up */ | 930 | /* Don't set up the ACPI SCI because it's already set up */ |
932 | if (acpi_fadt.sci_int == gsi) | 931 | if (acpi_fadt.sci_int == gsi) |
933 | return gsi; | 932 | return gsi; |
934 | #endif | ||
935 | 933 | ||
936 | ioapic = mp_find_ioapic(gsi); | 934 | ioapic = mp_find_ioapic(gsi); |
937 | if (ioapic < 0) { | 935 | if (ioapic < 0) { |
@@ -971,13 +969,11 @@ int mp_register_gsi(u32 gsi, int edge_level, int active_high_low) | |||
971 | if (gsi < MAX_GSI_NUM) { | 969 | if (gsi < MAX_GSI_NUM) { |
972 | if (gsi > 15) | 970 | if (gsi > 15) |
973 | gsi = pci_irq++; | 971 | gsi = pci_irq++; |
974 | #ifdef CONFIG_ACPI_BUS | ||
975 | /* | 972 | /* |
976 | * Don't assign IRQ used by ACPI SCI | 973 | * Don't assign IRQ used by ACPI SCI |
977 | */ | 974 | */ |
978 | if (gsi == acpi_fadt.sci_int) | 975 | if (gsi == acpi_fadt.sci_int) |
979 | gsi = pci_irq++; | 976 | gsi = pci_irq++; |
980 | #endif | ||
981 | gsi_to_irq[irq] = gsi; | 977 | gsi_to_irq[irq] = gsi; |
982 | } else { | 978 | } else { |
983 | printk(KERN_ERR "GSI %u is too high\n", gsi); | 979 | printk(KERN_ERR "GSI %u is too high\n", gsi); |