diff options
author | Thomas Bogendoerfer <tbogendoerfer@suse.de> | 2020-01-09 13:33:40 +0100 |
---|---|---|
committer | Paul Burton <paulburton@kernel.org> | 2020-01-10 00:29:50 +0100 |
commit | b78e9d63a3b6307b6b786e6ba189d3978b60ceb5 (patch) | |
tree | 25330465375907f3014724f914b3a54f9f94e142 /arch/mips/sgi-ip27/ip27-smp.c | |
parent | MIPS: SGI-IP27: use cpu physid already present while scanning for CPUs (diff) | |
download | linux-b78e9d63a3b6307b6b786e6ba189d3978b60ceb5.tar.xz linux-b78e9d63a3b6307b6b786e6ba189d3978b60ceb5.zip |
MIPS: SGI-IP27: use asm/sn/agent.h for including HUB related stuff
By including agent.h where hub related defines/structs are needed, we
have only one place to select, which agent chip (HUB or BEDROCK) is used.
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/sgi-ip27/ip27-smp.c')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-smp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/sgi-ip27/ip27-smp.c b/arch/mips/sgi-ip27/ip27-smp.c index de3711e9b1ba..1ae053ecf75c 100644 --- a/arch/mips/sgi-ip27/ip27-smp.c +++ b/arch/mips/sgi-ip27/ip27-smp.c @@ -15,6 +15,7 @@ #include <asm/page.h> #include <asm/processor.h> #include <asm/ptrace.h> +#include <asm/sn/agent.h> #include <asm/sn/arch.h> #include <asm/sn/gda.h> #include <asm/sn/intr.h> @@ -23,8 +24,6 @@ #include <asm/sn/mapped_kernel.h> #include <asm/sn/sn_private.h> #include <asm/sn/types.h> -#include <asm/sn/sn0/hubpi.h> -#include <asm/sn/sn0/hubio.h> #include <asm/sn/sn0/ip27.h> #include "ip27-common.h" |