Skip to content
Commit 38a1dfda authored by Bryan O'Donoghue's avatar Bryan O'Donoghue Committed by Thomas Gleixner
Browse files

x86/apic: Re-enable PCI_MSI support for non-SMP X86_32

Commit 0dbc6078 ('x86, build, pci: Fix PCI_MSI build on !SMP')
introduced the dependency that X86_UP_APIC is only available when
PCI_MSI is false. This effectively prevents PCI_MSI support on 32bit
UP systems because it disables both APIC and IO-APIC. But APIC support
is architecturally required for PCI_MSI.

The intention of the patch was to enforce APIC support when PCI_MSI is
enabled, but failed to do so.

Remove the !PCI_MSI dependency from X86_UP_APIC and enforce
X86_UP_APIC when PCI_MSI support is enabled on 32bit UP systems.

[ tglx: Massaged changelog ]

Fixes 0dbc6078

 'x86, build, pci: Fix PCI_MSI build on !SMP'
Signed-off-by: default avatarBryan O'Donoghue <pure.logic@nexus-software.ie>
Suggested-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/1421967529-9037-1-git-send-email-pure.logic@nexus-software.ie


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 31bb7723
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment