diff options
author | Jan Beulich <JBeulich@suse.com> | 2011-12-06 02:49:30 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-12-06 03:21:05 -0500 |
commit | b95a7bd700466c10fda84acbd33f70cf66ec91ce (patch) | |
tree | 970a1290c0ecd09944692d6428088d0bf5012092 /drivers/pci/Kconfig | |
parent | e4a02b4a951a7adf9d982b11c64686570c29fbe7 (diff) |
pci, x86/io-apic: Allow PCI_IOAPIC to be user configurable on x86
This adjusts PCI_IOAPIC to be user configurable (possibly as a
module) on x86, since the base architecture code for adding
IO-APICs dynamically isn't there yet (and hence having the code
present everywhere is pretty pointless).
To make this consistent, a MODULE_DEVICE_TABLE() declaration
gets added, the class specifications get corrected (by properly
using PCI_DEVICE_CLASS() intended for purposes like this), and
the probe and remove functions get their sections adjusted.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Link: http://lkml.kernel.org/r/4EDDD71A02000078000659F1@nat28.tlf.novell.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/pci/Kconfig')
-rw-r--r-- | drivers/pci/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index f02b5235056d..37856f7c7781 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig | |||
@@ -98,11 +98,11 @@ config PCI_PASID | |||
98 | If unsure, say N. | 98 | If unsure, say N. |
99 | 99 | ||
100 | config PCI_IOAPIC | 100 | config PCI_IOAPIC |
101 | bool | 101 | tristate "PCI IO-APIC hotplug support" if X86 |
102 | depends on PCI | 102 | depends on PCI |
103 | depends on ACPI | 103 | depends on ACPI |
104 | depends on HOTPLUG | 104 | depends on HOTPLUG |
105 | default y | 105 | default !X86 |
106 | 106 | ||
107 | config PCI_LABEL | 107 | config PCI_LABEL |
108 | def_bool y if (DMI || ACPI) | 108 | def_bool y if (DMI || ACPI) |