]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sparc64: Define VA hole at run time, rather than at compile time.
authorDavid S. Miller <davem@davemloft.net>
Sat, 27 Sep 2014 04:58:33 +0000 (21:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Oct 2014 16:43:17 +0000 (09:43 -0700)
commit498db9cdd85904c7a991da2542efa5ddaeb04ae4
tree9d245df89caa703f3bb2d4f592d5f4518de38475
parent665fae74eb0fce44b2293987a7ccf1be3334530a
sparc64: Define VA hole at run time, rather than at compile time.

[ Upstream commit 4397bed080598001e88f612deb8b080bb1cc2322 ]

Now that we use 4-level page tables, we can provide up to 53-bits of
virtual address space to the user.

Adjust the VA hole based upon the capabilities of the cpu type probed.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Bob Picco <bob.picco@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sparc/include/asm/page_64.h
arch/sparc/mm/init_64.c