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:38:27 +0000 (09:38 -0700)
commitb2bbcaa1dd6e2801895ad4df4067aea2dce7f2b3
treea14f29287d55faa9ec22cdd78dc3aae7b772177e
parentc964b0ba69092f8b340f445b2dc4db00f420b61b
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