linux/arch/x86
Ben Hutchings 9dabb3a005 x86/apic: Fix build failure with X86_IO_APIC disabled
My backport of commit 2e63ad4bd5 "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 commit b1da1e715d
"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>
History 2018-11-20 18:06:03 +00:00
..
boot efi: Avoid potential crashes, fix the 'struct efi_pci_io_protocol_32' definition for mixed mode 2018-10-21 08:46:04 +01:00
configs USB: remove CONFIG_USB_DEBUG from defconfig files 2014-05-28 09:40:45 -07:00
crypto crypto: x86/cast5-avx - fix ECB encryption when long sg follows short one 2018-10-21 08:44:52 +01:00
ia32 x86/syscall: Sanitize syscall table de-references under speculation 2018-03-19 18:59:13 +00:00
include x86/apm: Don't access __preempt_count with zeroed fs 2018-11-20 18:05:43 +00:00
kernel x86/apic: Fix build failure with X86_IO_APIC disabled 2018-11-20 18:06:03 +00:00
kvm KVM: x86: fix escape of guest dr6 to the host 2018-11-20 18:06:00 +00:00
lguest asmlinkage, x86: Add explicit __visible to arch/x86/* 2014-05-05 16:07:44 -07:00
lib x86/uaccess: Use __uaccess_begin_nospec() and uaccess_try_nospec 2018-03-19 18:59:17 +00:00
math-emu x86/ldt: Further fix FPU emulation 2015-09-03 13:29:55 +01:00
mm x86/mm: Prevent kernel Oops in PTDUMP code with HIGHPTE=y 2018-10-21 08:45:29 +01:00
net bpf, x64: fix memleak when not converging after image 2018-10-21 08:45:51 +01:00
oprofile x86/oprofile: Fix bogus GCC-8 warning in nmi_setup() 2018-06-16 22:22:23 +01:00
pci x86/PCI: Make broadcom_postcore_init() check acpi_disabled 2018-03-03 15:51:45 +00:00
platform x86/platform/uv: Include clocksource.h for clocksource_touch_watchdog() 2018-02-13 18:42:35 +00:00
power x86/power/64: Fix kernel text mapping corruption during image restoration 2016-08-22 22:38:25 +01:00
realmode x86/build: Supress realmode.bin is up to date message 2014-04-16 15:17:24 +02:00
syscalls seccomp: add "seccomp" syscall 2018-09-25 23:47:34 +01:00
tools x86/tools: Fix gcc-7 warning in relocs.c 2018-10-03 04:10:07 +01:00
um um: Use POSIX ucontext_t instead of struct ucontext 2018-10-21 08:44:48 +01:00
vdso x86/vdso: Remove pvclock fixmap machinery 2018-02-13 18:42:35 +00:00
video x86: Use vga_default_device() when determining whether an fb is primary 2012-04-24 09:50:17 +01:00
xen tracing/x86/xen: Remove zero data size trace events trace_xen_mmu_flush_tlb{_all} 2018-10-21 08:46:06 +01:00
.gitignore x86/kprobes: Add arch/x86/tools/insn_sanity to .gitignore 2012-01-16 08:21:59 +01:00
Kbuild x86, realmode: realmode.bin infrastructure 2012-05-08 11:41:48 -07:00
Kconfig x86/retpoline: Add initial retpoline support 2018-03-19 18:59:06 +00:00
Kconfig.cpu Merge branch 'x86-nuke-platforms-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-04-02 13:15:58 -07:00
Kconfig.debug x86/efi: Dump the EFI page table 2014-03-04 16:17:17 +00:00
Makefile x86/retpoline: Remove compile time warning 2018-03-19 18:59:08 +00:00
Makefile.um um: fix linker script generation 2012-04-09 13:59:00 -04:00
Makefile_32.cpu x86, 386 removal: Remove CONFIG_M386 from Kconfig 2012-11-29 13:23:01 -08:00