aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/mach-ip27/mmzone.h
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2020-01-09 13:33:40 +0100
committerPaul Burton <paulburton@kernel.org>2020-01-09 15:29:50 -0800
commitb78e9d63a3b6307b6b786e6ba189d3978b60ceb5 (patch)
tree25330465375907f3014724f914b3a54f9f94e142 /arch/mips/include/asm/mach-ip27/mmzone.h
parentMIPS: SGI-IP27: use cpu physid already present while scanning for CPUs (diff)
downloadlinux-dev-b78e9d63a3b6307b6b786e6ba189d3978b60ceb5.tar.xz
linux-dev-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/include/asm/mach-ip27/mmzone.h')
-rw-r--r--arch/mips/include/asm/mach-ip27/mmzone.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-ip27/mmzone.h b/arch/mips/include/asm/mach-ip27/mmzone.h
index f463826515df..534a50f79147 100644
--- a/arch/mips/include/asm/mach-ip27/mmzone.h
+++ b/arch/mips/include/asm/mach-ip27/mmzone.h
@@ -4,7 +4,8 @@
#include <asm/sn/addrs.h>
#include <asm/sn/arch.h>
-#include <asm/sn/hub.h>
+#include <asm/sn/agent.h>
+#include <asm/sn/klkernvars.h>
#define pa_to_nid(addr) NASID_GET(addr)