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)
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>

No differences found