]> 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)
committerJiri Slaby <jslaby@suse.cz>
Fri, 31 Oct 2014 14:10:33 +0000 (15:10 +0100)
commitf3106616c9043d975e7d13441c0354b4d4e98fb4
tree16512cb92df425c9151a2a12f8cec561c6d33823
parent0e44ea2e2de88f1d7bd9a27f2bc54171ddbf55a7
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>
arch/sparc/include/asm/page_64.h
arch/sparc/mm/init_64.c