diff options
author | Jan Beulich <JBeulich@suse.com> | 2015-02-05 10:31:56 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-02-18 16:10:54 -0500 |
commit | 50849eefea3ba8aa6e540e0cbdc9533098f25656 (patch) | |
tree | 27bb19752ccf8808f8b9d6562c589d2742f2745a | |
parent | b1da1e715d4faf01468b7f45f7098922bc85ea8e (diff) |
x86/Kconfig: Simplify X86_UP_APIC handling
We don't really need a helper symbol for that. For one, it's
pointlessly getting set to Y for all configurations (even 64-bit
ones). And then the purpose can be fulfilled by suitably
adjusting X86_UP_APIC: Hide its prompt when PCI_MSI, and default
it to PCI_MSI.
Tested-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Link: http://lkml.kernel.org/r/54D39AFC020000780005D684@mail.emea.novell.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | arch/x86/Kconfig | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index afb75f5c243c..c226c2bda7f3 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -859,7 +859,8 @@ config UP_LATE_INIT | |||
859 | depends on !SMP && X86_LOCAL_APIC | 859 | depends on !SMP && X86_LOCAL_APIC |
860 | 860 | ||
861 | config X86_UP_APIC | 861 | config X86_UP_APIC |
862 | bool "Local APIC support on uniprocessors" | 862 | bool "Local APIC support on uniprocessors" if !PCI_MSI |
863 | default PCI_MSI | ||
863 | depends on X86_32 && !SMP && !X86_32_NON_STANDARD | 864 | depends on X86_32 && !SMP && !X86_32_NON_STANDARD |
864 | ---help--- | 865 | ---help--- |
865 | A local APIC (Advanced Programmable Interrupt Controller) is an | 866 | A local APIC (Advanced Programmable Interrupt Controller) is an |
@@ -871,10 +872,6 @@ config X86_UP_APIC | |||
871 | performance counters), and the NMI watchdog which detects hard | 872 | performance counters), and the NMI watchdog which detects hard |
872 | lockups. | 873 | lockups. |
873 | 874 | ||
874 | config X86_UP_APIC_MSI | ||
875 | def_bool y | ||
876 | select X86_UP_APIC if X86_32 && !SMP && !X86_32_NON_STANDARD && PCI_MSI | ||
877 | |||
878 | config X86_UP_IOAPIC | 875 | config X86_UP_IOAPIC |
879 | bool "IO-APIC support on uniprocessors" | 876 | bool "IO-APIC support on uniprocessors" |
880 | depends on X86_UP_APIC | 877 | depends on X86_UP_APIC |