diff options
author | David S. Miller <davem@davemloft.net> | 2013-09-18 20:58:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-13 00:22:33 +0100 |
commit | c920745e6964bd4b9315a17b018d83fad66010d3 (patch) | |
tree | 07a872bac01d893a5a494b12ece22404ba159dce /arch/sparc/mm/hugetlbpage.c | |
parent | Merge tag 'devicetree-for-3.13' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
download | linux-c920745e6964bd4b9315a17b018d83fad66010d3.tar.xz linux-c920745e6964bd4b9315a17b018d83fad66010d3.zip |
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 <davem@davemloft.net>
Acked-by: Bob Picco <bob.picco@oracle.com>
Diffstat (limited to 'arch/sparc/mm/hugetlbpage.c')
-rw-r--r-- | arch/sparc/mm/hugetlbpage.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc/mm/hugetlbpage.c b/arch/sparc/mm/hugetlbpage.c index 96399646570a..30963178d7e9 100644 --- a/arch/sparc/mm/hugetlbpage.c +++ b/arch/sparc/mm/hugetlbpage.c @@ -21,8 +21,6 @@ /* Slightly simplified from the non-hugepage variant because by * definition we don't have to worry about any page coloring stuff */ -#define VA_EXCLUDE_START (0x0000080000000000UL - (1UL << 32UL)) -#define VA_EXCLUDE_END (0xfffff80000000000UL + (1UL << 32UL)) static unsigned long hugetlb_get_unmapped_area_bottomup(struct file *filp, unsigned long addr, |