commit | bcd896bae0166b4443503482a26ecf84d9ba60ab | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Tue Feb 19 13:20:08 2013 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 20 09:46:08 2013 -0800 |
tree | 9674d3bf3999833f9e9ee562bd6113509b94f684 | |
parent | a55ee1ff751f88252207160087d8197bb7538d4c [diff] |
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>