x86/apic: Consolidate the apic local headers

Now there are three small local headers. Some contain functions which are
only used in one source file.

Move all the inlines and declarations into a single local header and the
inlines which are only used in one source file into that.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20190722105219.618612624@linutronix.de
This commit is contained in:
Thomas Gleixner
2019-07-22 20:47:14 +02:00
parent ba77b2a02e
commit c94f0718fb
12 changed files with 83 additions and 119 deletions

View File

@@ -18,8 +18,7 @@
#include <asm/pgtable.h>
#include "apic_flat_64.h"
#include "ipi.h"
#include "local.h"
u8 numachip_system __read_mostly;
static const struct apic apic_numachip1;