xref: /linux/arch/x86/kernel/apic/Makefile (revision e2be04c7f9958dde770eeb8b30e829ca969b37bb)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for local APIC drivers and for the IO-APIC code
4#
5
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
10obj-$(CONFIG_X86_LOCAL_APIC)	+= apic.o apic_noop.o ipi.o vector.o
11obj-y				+= hw_nmi.o
12
13obj-$(CONFIG_X86_IO_APIC)	+= io_apic.o
14obj-$(CONFIG_PCI_MSI)		+= msi.o
15obj-$(CONFIG_HT_IRQ)		+= htirq.o
16obj-$(CONFIG_SMP)		+= ipi.o
17
18ifeq ($(CONFIG_X86_64),y)
19# APIC probe will depend on the listing order here
20obj-$(CONFIG_X86_NUMACHIP)	+= apic_numachip.o
21obj-$(CONFIG_X86_UV)		+= x2apic_uv_x.o
22obj-$(CONFIG_X86_X2APIC)	+= x2apic_phys.o
23obj-$(CONFIG_X86_X2APIC)	+= x2apic_cluster.o
24obj-y				+= apic_flat_64.o
25endif
26
27# APIC probe will depend on the listing order here
28obj-$(CONFIG_X86_BIGSMP)	+= bigsmp_32.o
29
30# For 32bit, probe_32 need to be listed last
31obj-$(CONFIG_X86_LOCAL_APIC)	+= probe_$(BITS).o
32