From c920745e6964bd4b9315a17b018d83fad66010d3 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Wed, 18 Sep 2013 11:58:32 -0700 Subject: sparc64: Clean up 64-bit mmap exclusion defines. Older UltraSPARC chips had an address space hole due to the MMU only supporting 44-bit virtual addresses. The top end of this hole also has the same value as the current definition of PAGE_OFFSET, so this can be confusing. Consolidate the defines for the userspace mmap exclusion range into page_64.h and use them in sys_sparc_64.c and hugetlbpage.c Signed-off-by: David S. Miller Acked-by: Bob Picco --- arch/sparc/kernel/sys_sparc_64.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch/sparc/kernel/sys_sparc_64.c') diff --git a/arch/sparc/kernel/sys_sparc_64.c b/arch/sparc/kernel/sys_sparc_64.c index 51561b8b15ba..d05eb9c1d846 100644 --- a/arch/sparc/kernel/sys_sparc_64.c +++ b/arch/sparc/kernel/sys_sparc_64.c @@ -39,9 +39,6 @@ asmlinkage unsigned long sys_getpagesize(void) return PAGE_SIZE; } -#define VA_EXCLUDE_START (0x0000080000000000UL - (1UL << 32UL)) -#define VA_EXCLUDE_END (0xfffff80000000000UL + (1UL << 32UL)) - /* Does addr --> addr+len fall within 4GB of the VA-space hole or * overflow past the end of the 64-bit address space? */ -- cgit v1.2.3-59-g8ed1b