]> git.itanic.dy.fi Git - linux-stable/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:40:20 +0000 (09:40 -0700)
commite4d4fab374db1baebd0b81641338bb28bc3d186a
treea38b82bd33cc956cbc578e14b2ab34f15d18b9f0
parent6aac5338c838bb825e0d2cfd283cd07dd86e0fb7
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