From: David S. Miller Date: Tue, 19 Feb 2013 21:20:08 +0000 (-0800) Subject: sparc64: Handle hugepage TSB being NULL. X-Git-Tag: v3.9-rc1~140^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcd896bae0166b4443503482a26ecf84d9ba60ab;p=pandora-kernel.git 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 --- Reading git-diff-tree failed