Skip to content

Commit

Permalink
x86/apic: Move ipi header into apic directory
Browse files Browse the repository at this point in the history
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.434738036@linutronix.de
  • Loading branch information
Thomas Gleixner committed Jul 25, 2019
1 parent 521b82f commit 8b542da
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 14 deletions.
3 changes: 2 additions & 1 deletion arch/x86/kernel/apic/apic_flat_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
#include <asm/jailhouse_para.h>
#include <asm/apic_flat_64.h>
#include <asm/apic.h>
#include <asm/ipi.h>

#include "ipi.h"

static struct apic apic_physflat;
static struct apic apic_flat;
Expand Down
3 changes: 2 additions & 1 deletion arch/x86/kernel/apic/apic_numachip.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@

#include <asm/apic_flat_64.h>
#include <asm/pgtable.h>
#include <asm/ipi.h>

#include "ipi.h"

u8 numachip_system __read_mostly;
static const struct apic apic_numachip1;
Expand Down
9 changes: 2 additions & 7 deletions arch/x86/kernel/apic/bigsmp_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,13 @@
*
* Drives the local APIC in "clustered mode".
*/
#include <linux/threads.h>
#include <linux/cpumask.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/dmi.h>
#include <linux/smp.h>

#include <asm/apicdef.h>
#include <asm/fixmap.h>
#include <asm/mpspec.h>
#include <asm/apic.h>
#include <asm/ipi.h>

#include "ipi.h"

static unsigned bigsmp_get_apic_id(unsigned long x)
{
Expand Down
3 changes: 2 additions & 1 deletion arch/x86/kernel/apic/ipi.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
#include <linux/cpumask.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)
{
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion arch/x86/kernel/apic/probe_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@

#include <asm/apic.h>
#include <asm/acpi.h>
#include <asm/ipi.h>

#include "ipi.h"

#ifdef CONFIG_HOTPLUG_CPU
#define DEFAULT_SEND_IPI (1)
Expand Down
3 changes: 2 additions & 1 deletion arch/x86/kernel/apic/probe_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
* James Cleverdon.
*/
#include <asm/apic.h>
#include <asm/ipi.h>

#include "ipi.h"

/*
* Check the APIC IDs in bios_cpu_apicid and choose the APIC mode.
Expand Down
3 changes: 1 addition & 2 deletions arch/x86/kernel/apic/x2apic_phys.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
#include <linux/cpumask.h>
#include <linux/acpi.h>

#include <asm/ipi.h>

#include "x2apic.h"
#include "ipi.h"

int x2apic_phys;

Expand Down

0 comments on commit 8b542da

Please sign in to comment.