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