Commit 8b542da3 authored by Thomas Gleixner's avatar Thomas Gleixner

x86/apic: Move ipi header into apic directory

Only used locally.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Acked-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20190722105219.434738036@linutronix.de
parent 521b82fe
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
#include <asm/jailhouse_para.h> #include <asm/jailhouse_para.h>
#include <asm/apic_flat_64.h> #include <asm/apic_flat_64.h>
#include <asm/apic.h> #include <asm/apic.h>
#include <asm/ipi.h>
#include "ipi.h"
static struct apic apic_physflat; static struct apic apic_physflat;
static struct apic apic_flat; static struct apic apic_flat;
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
#include <asm/apic_flat_64.h> #include <asm/apic_flat_64.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/ipi.h>
#include "ipi.h"
u8 numachip_system __read_mostly; u8 numachip_system __read_mostly;
static const struct apic apic_numachip1; static const struct apic apic_numachip1;
......
...@@ -4,18 +4,13 @@ ...@@ -4,18 +4,13 @@
* *
* Drives the local APIC in "clustered mode". * Drives the local APIC in "clustered mode".
*/ */
#include <linux/threads.h>
#include <linux/cpumask.h> #include <linux/cpumask.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/dmi.h> #include <linux/dmi.h>
#include <linux/smp.h> #include <linux/smp.h>
#include <asm/apicdef.h>
#include <asm/fixmap.h>
#include <asm/mpspec.h>
#include <asm/apic.h> #include <asm/apic.h>
#include <asm/ipi.h>
#include "ipi.h"
static unsigned bigsmp_get_apic_id(unsigned long x) static unsigned bigsmp_get_apic_id(unsigned long x)
{ {
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
#include <linux/cpumask.h> #include <linux/cpumask.h>
#include <asm/apic.h> #include <asm/apic.h>
#include <asm/ipi.h>
#include "ipi.h"
void __default_send_IPI_shortcut(unsigned int shortcut, int vector, unsigned int dest) void __default_send_IPI_shortcut(unsigned int shortcut, int vector, unsigned int dest)
{ {
......
...@@ -11,7 +11,8 @@ ...@@ -11,7 +11,8 @@
#include <asm/apic.h> #include <asm/apic.h>
#include <asm/acpi.h> #include <asm/acpi.h>
#include <asm/ipi.h>
#include "ipi.h"
#ifdef CONFIG_HOTPLUG_CPU #ifdef CONFIG_HOTPLUG_CPU
#define DEFAULT_SEND_IPI (1) #define DEFAULT_SEND_IPI (1)
......
...@@ -9,7 +9,8 @@ ...@@ -9,7 +9,8 @@
* James Cleverdon. * James Cleverdon.
*/ */
#include <asm/apic.h> #include <asm/apic.h>
#include <asm/ipi.h>
#include "ipi.h"
/* /*
* Check the APIC IDs in bios_cpu_apicid and choose the APIC mode. * Check the APIC IDs in bios_cpu_apicid and choose the APIC mode.
......
...@@ -3,9 +3,8 @@ ...@@ -3,9 +3,8 @@
#include <linux/cpumask.h> #include <linux/cpumask.h>
#include <linux/acpi.h> #include <linux/acpi.h>
#include <asm/ipi.h>
#include "x2apic.h" #include "x2apic.h"
#include "ipi.h"
int x2apic_phys; int x2apic_phys;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment