]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sparc64: Clean up 64-bit mmap exclusion defines.
authorDavid S. Miller <davem@davemloft.net>
Wed, 18 Sep 2013 18:58:32 +0000 (11:58 -0700)
committerJiri Slaby <jslaby@suse.cz>
Fri, 31 Oct 2014 14:05:31 +0000 (15:05 +0100)
commit02432d2dfb47bb556c7cd628af58ee69c27d48c4
tree3ddf7b0158506ef6bd6ec5fb1176560aeb145af2
parente3d45a797b7742c26a847bd9b8c85f940a15860b
sparc64: Clean up 64-bit mmap exclusion defines.

commit c920745e6964bd4b9315a17b018d83fad66010d3 upstream.

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>
arch/sparc/include/asm/page_64.h
arch/sparc/kernel/sys_sparc_64.c
arch/sparc/mm/hugetlbpage.c