// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2004 James Cleverdon, IBM. * * Flat APIC subarch code. * * Hacked for x86-64 by James Cleverdon from i386 architecture code by * Martin Bligh, Andi Kleen, James Bottomley, John Stultz, and * James Cleverdon. */ #include <linux/export.h> #include <asm/apic.h> #include "local.h" static u32 physflat_get_apic_id(u32 x) { … } static int physflat_probe(void) { … } static int physflat_acpi_madt_oem_check(char *oem_id, char *oem_table_id) { … } static struct apic apic_physflat __ro_after_init = …; apic_driver(…) …; struct apic *apic __ro_after_init = …; EXPORT_SYMBOL_GPL(…);