| 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 particular, smp_apic_timer_interrupt() is called in random places. |
| 8 |
KCOV_INSTRUMENT := n |
| 9 |
|
| 10 |
obj-$(CONFIG_X86_LOCAL_APIC) += apic.o apic_common.o apic_noop.o ipi.o vector.o init.o |
| 11 |
obj-y += hw_nmi.o |
| 12 |
|
| 13 |
obj-$(CONFIG_X86_IO_APIC) += io_apic.o |
| 14 |
obj-$(CONFIG_PCI_MSI) += msi.o |
| 15 |
obj-$(CONFIG_SMP) += ipi.o |
| 16 |
|
| 17 |
ifeq ($(CONFIG_X86_64),y) |
| 18 |
# APIC probe will depend on the listing order here |
| 19 |
obj-$(CONFIG_X86_NUMACHIP) += apic_numachip.o |
| 20 |
obj-$(CONFIG_X86_UV) += x2apic_uv_x.o |
| 21 |
obj-$(CONFIG_AMD_SECURE_AVIC) += x2apic_savic.o |
| 22 |
obj-$(CONFIG_X86_X2APIC) += x2apic_phys.o |
| 23 |
obj-$(CONFIG_X86_X2APIC) += x2apic_cluster.o |
| 24 |
obj-y += apic_flat_64.o |
| 25 |
endif |
| 26 |
|
| 27 |
# For 32bit, probe_32 need to be listed last |
| 28 |
obj-$(CONFIG_X86_LOCAL_APIC) += probe_$(BITS).o |