mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
x86/apic: Fix build failure with X86_IO_APIC disabled
My backport of commit2e63ad4bd5"x86/apic: Do not init irq remapping if ioapic is disabled" added an unconditional use of skip_ioapic_setup. Enabling X86_LOCAL_APIC but not X86_IO_APIC results in a build failure. This configuration was made impossible by commitb1da1e715d"x86/Kconfig: Simplify X86_IO_APIC dependencies", but that seems to depend on additional changes that aren't suitable for stable. The function that was changed, enable_IR_x2apic(), is only used in 64-bit configurations where CONFIG_X86_IO_APIC is always enabled. So extend the #ifdef CONFIG_X86_64 section to include this function. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
16d44afca3
commit
9dabb3a005
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue