/* * Common functions shared between the various APIC flavours * * SPDX-License-Identifier: GPL-2.0 */ #include <linux/irq.h> #include <asm/apic.h> #include "local.h" u32 apic_default_calc_apicid(unsigned int cpu) { … } u32 apic_flat_calc_apicid(unsigned int cpu) { … } u32 default_cpu_present_to_apicid(int mps_cpu) { … } EXPORT_SYMBOL_GPL(…); /* * Set up the logical destination ID when the APIC operates in logical * destination mode. */ void default_init_apic_ldr(void) { … }