diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-07-22 20:47:13 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-07-25 16:11:58 +0200 |
commit | ba77b2a02e0099ab0021bc3169b8f674c6be19f0 (patch) | |
tree | 9e7a36a630b8c64acdd987bd495db06b0615f1bb /arch/x86/kernel/apic | |
parent | 8b542da372875373db9688477671151df3418acb (diff) |
x86/apic: Move apic_flat_64 header into apic directory
Only used locally.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20190722105219.526508168@linutronix.de
Diffstat (limited to 'arch/x86/kernel/apic')
-rw-r--r-- | arch/x86/kernel/apic/apic_flat_64.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/apic/apic_flat_64.h | 8 | ||||
-rw-r--r-- | arch/x86/kernel/apic/apic_numachip.c | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/apic_flat_64.c b/arch/x86/kernel/apic/apic_flat_64.c index a38b1ecc018d..cfee2e546531 100644 --- a/arch/x86/kernel/apic/apic_flat_64.c +++ b/arch/x86/kernel/apic/apic_flat_64.c @@ -13,9 +13,9 @@ #include <linux/acpi.h> #include <asm/jailhouse_para.h> -#include <asm/apic_flat_64.h> #include <asm/apic.h> +#include "apic_flat_64.h" #include "ipi.h" static struct apic apic_physflat; diff --git a/arch/x86/kernel/apic/apic_flat_64.h b/arch/x86/kernel/apic/apic_flat_64.h new file mode 100644 index 000000000000..d3a2b3876ce6 --- /dev/null +++ b/arch/x86/kernel/apic/apic_flat_64.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_X86_APIC_FLAT_64_H +#define _ASM_X86_APIC_FLAT_64_H + +extern void flat_init_apic_ldr(void); + +#endif + diff --git a/arch/x86/kernel/apic/apic_numachip.c b/arch/x86/kernel/apic/apic_numachip.c index 7d4c00f4e984..09ec9ffb268e 100644 --- a/arch/x86/kernel/apic/apic_numachip.c +++ b/arch/x86/kernel/apic/apic_numachip.c @@ -16,9 +16,9 @@ #include <asm/numachip/numachip.h> #include <asm/numachip/numachip_csr.h> -#include <asm/apic_flat_64.h> #include <asm/pgtable.h> +#include "apic_flat_64.h" #include "ipi.h" u8 numachip_system __read_mostly; |