xref: /linux/arch/x86/kernel/apic/Makefile (revision 74ce1896c6c65b2f8cccbf59162d542988835835)
1#
2# Makefile for local APIC drivers and for the IO-APIC code
3#
4
5# Leads to non-deterministic coverage that is not a function of syscall inputs.
6# In particualr, smp_apic_timer_interrupt() is called in random places.
7KCOV_INSTRUMENT		:= n
8
9obj-$(CONFIG_X86_LOCAL_APIC)	+= apic.o apic_noop.o ipi.o vector.o
10obj-y				+= hw_nmi.o
11
12obj-$(CONFIG_X86_IO_APIC)	+= io_apic.o
13obj-$(CONFIG_PCI_MSI)		+= msi.o
14obj-$(CONFIG_HT_IRQ)		+= htirq.o
15obj-$(CONFIG_SMP)		+= ipi.o
16
17ifeq ($(CONFIG_X86_64),y)
18# APIC probe will depend on the listing order here
19obj-$(CONFIG_X86_NUMACHIP)	+= apic_numachip.o
20obj-$(CONFIG_X86_UV)		+= x2apic_uv_x.o
21obj-$(CONFIG_X86_X2APIC)	+= x2apic_phys.o
22obj-$(CONFIG_X86_X2APIC)	+= x2apic_cluster.o
23obj-y				+= apic_flat_64.o
24endif
25
26# APIC probe will depend on the listing order here
27obj-$(CONFIG_X86_BIGSMP)	+= bigsmp_32.o
28
29# For 32bit, probe_32 need to be listed last
30obj-$(CONFIG_X86_LOCAL_APIC)	+= probe_$(BITS).o
31