From: Paul Mundt Date: Fri, 1 Dec 2006 03:14:11 +0000 (+0900) Subject: sh: Get the PGD right in oops case with 64-bit PTEs. X-Git-Tag: v2.6.20-rc1~34^2~20^2~32^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bca7c20764c83a44c7b8b0831089922d56a3a9a2;p=pandora-kernel.git sh: Get the PGD right in oops case with 64-bit PTEs. Previously this was using a static pgd shift in the reporting code, simply flip this to PGDIR_SHIFT which does the right thing depending on varying PTE magnitudes on the SH-X2 MMU. While we're at it, and since it's been recently added, use get_TTB() for fetching the TTB, rather than the open coded instructions. Signed-off-by: Paul Mundt --- Reading git-diff-tree failed