Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Thomas Bogendoerfer and committed by
Paul Burton
931e1bfe 351889d3

+1 -2
+1 -2
arch/mips/include/asm/mach-ip22/spaces.h
··· 10 10 #ifndef _ASM_MACH_IP22_SPACES_H 11 11 #define _ASM_MACH_IP22_SPACES_H 12 12 13 + #define PHYS_OFFSET _AC(0x08000000, UL) 13 14 14 15 #ifdef CONFIG_64BIT 15 - 16 - #define PAGE_OFFSET 0xffffffff80000000UL 17 16 18 17 #define CAC_BASE 0xffffffff80000000 19 18 #define IO_BASE 0xffffffffa0000000