x86/apic: Provide common init infrastructure
[linux-2.6-block.git] / arch / x86 / kernel / apic / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
f62bae50
IM
2#
3# Makefile for local APIC drivers and for the IO-APIC code
4#
5
5c9a8750
DV
6# Leads to non-deterministic coverage that is not a function of syscall inputs.
7# In particualr, smp_apic_timer_interrupt() is called in random places.
8KCOV_INSTRUMENT := n
9
3af1e415 10obj-$(CONFIG_X86_LOCAL_APIC) += apic.o apic_common.o apic_noop.o ipi.o vector.o init.o
5f2b0ba4 11obj-y += hw_nmi.o
84e478c6 12
f62bae50 13obj-$(CONFIG_X86_IO_APIC) += io_apic.o
44380982 14obj-$(CONFIG_PCI_MSI) += msi.o
f62bae50
IM
15obj-$(CONFIG_SMP) += ipi.o
16
17ifeq ($(CONFIG_X86_64),y)
107e0e0c 18# APIC probe will depend on the listing order here
44b111b5 19obj-$(CONFIG_X86_NUMACHIP) += apic_numachip.o
f62bae50 20obj-$(CONFIG_X86_UV) += x2apic_uv_x.o
107e0e0c
SS
21obj-$(CONFIG_X86_X2APIC) += x2apic_phys.o
22obj-$(CONFIG_X86_X2APIC) += x2apic_cluster.o
23obj-y += apic_flat_64.o
f62bae50
IM
24endif
25
107e0e0c 26# APIC probe will depend on the listing order here
107e0e0c 27obj-$(CONFIG_X86_BIGSMP) += bigsmp_32.o
107e0e0c
SS
28
29# For 32bit, probe_32 need to be listed last
30obj-$(CONFIG_X86_LOCAL_APIC) += probe_$(BITS).o