mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 12:47:02 +07:00
6406350583
The 32bit and the 64bit implementation of default_cpu_present_to_apicid() and default_check_phys_apicid_present() are exactly the same, but implemented and located differently. Move them to common apic code and get rid of the pointless difference. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Juergen Gross <jgross@suse.com> Tested-by: Yu Chen <yu.c.chen@intel.com> Acked-by: Juergen Gross <jgross@suse.com> Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com> Cc: Tony Luck <tony.luck@intel.com> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Alok Kataria <akataria@vmware.com> Cc: Joerg Roedel <joro@8bytes.org> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Christoph Hellwig <hch@lst.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Rui Zhang <rui.zhang@intel.com> Cc: "K. Y. Srinivasan" <kys@microsoft.com> Cc: Arjan van de Ven <arjan@linux.intel.com> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Len Brown <lenb@kernel.org> Link: https://lkml.kernel.org/r/20170913213153.757329991@linutronix.de
31 lines
942 B
Makefile
31 lines
942 B
Makefile
#
|
|
# Makefile for local APIC drivers and for the IO-APIC code
|
|
#
|
|
|
|
# Leads to non-deterministic coverage that is not a function of syscall inputs.
|
|
# In particualr, smp_apic_timer_interrupt() is called in random places.
|
|
KCOV_INSTRUMENT := n
|
|
|
|
obj-$(CONFIG_X86_LOCAL_APIC) += apic.o apic_common.o apic_noop.o ipi.o vector.o
|
|
obj-y += hw_nmi.o
|
|
|
|
obj-$(CONFIG_X86_IO_APIC) += io_apic.o
|
|
obj-$(CONFIG_PCI_MSI) += msi.o
|
|
obj-$(CONFIG_HT_IRQ) += htirq.o
|
|
obj-$(CONFIG_SMP) += ipi.o
|
|
|
|
ifeq ($(CONFIG_X86_64),y)
|
|
# APIC probe will depend on the listing order here
|
|
obj-$(CONFIG_X86_NUMACHIP) += apic_numachip.o
|
|
obj-$(CONFIG_X86_UV) += x2apic_uv_x.o
|
|
obj-$(CONFIG_X86_X2APIC) += x2apic_phys.o
|
|
obj-$(CONFIG_X86_X2APIC) += x2apic_cluster.o
|
|
obj-y += apic_flat_64.o
|
|
endif
|
|
|
|
# APIC probe will depend on the listing order here
|
|
obj-$(CONFIG_X86_BIGSMP) += bigsmp_32.o
|
|
|
|
# For 32bit, probe_32 need to be listed last
|
|
obj-$(CONFIG_X86_LOCAL_APIC) += probe_$(BITS).o
|