]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sparc64: Handle hugepage TSB being NULL.
authorDavid S. Miller <davem@davemloft.net>
Tue, 19 Feb 2013 21:20:08 +0000 (13:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Feb 2013 17:46:08 +0000 (09:46 -0800)
commitbcd896bae0166b4443503482a26ecf84d9ba60ab
tree9674d3bf3999833f9e9ee562bd6113509b94f684
parenta55ee1ff751f88252207160087d8197bb7538d4c
sparc64: Handle hugepage TSB being NULL.

Accomodate the possibility that the TSB might be NULL at
the point that update_mmu_cache() is invoked.  This is
necessary because we will sometimes need to defer the TSB
allocation to the first fault that happens in the 'mm'.

Seperate out the hugepage PTE test into a seperate function
so that the logic is clearer.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/mm/init_64.c