summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mach-ip22
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2019-10-09 15:27:16 +0200
committerPaul Burton <paul.burton@mips.com>2019-10-09 14:55:55 -0700
commit931e1bfea4031811b75f7af688a3e17fc2b121fb (patch)
tree7cb56e4d82775a123aa269863a907d0b6766fa60 /arch/mips/include/asm/mach-ip22
parent351889d356290554bf5d20d684244813a654afbe (diff)
MIPS: SGI-IP22: set PHYS_OFFSET to memory start
IP22 started at physical 0x08000000. To avoid wasting memory for page structs set PHYS_OFFSET. Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paul.burton@mips.com> 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-ip22')
-rw-r--r--arch/mips/include/asm/mach-ip22/spaces.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/include/asm/mach-ip22/spaces.h b/arch/mips/include/asm/mach-ip22/spaces.h
index 7f9fa6f66059..78d0335f5f2e 100644
--- a/arch/mips/include/asm/mach-ip22/spaces.h
+++ b/arch/mips/include/asm/mach-ip22/spaces.h
@@ -10,11 +10,10 @@
#ifndef _ASM_MACH_IP22_SPACES_H
#define _ASM_MACH_IP22_SPACES_H
+#define PHYS_OFFSET _AC(0x08000000, UL)
#ifdef CONFIG_64BIT
-#define PAGE_OFFSET 0xffffffff80000000UL
-
#define CAC_BASE 0xffffffff80000000
#define IO_BASE 0xffffffffa0000000
#define UNCAC_BASE 0xffffffffa0000000