aboutsummaryrefslogtreecommitdiff
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-12-01 12:14:11 +0900
committerPaul Mundt <lethal@linux-sh.org>2006-12-06 10:45:39 +0900
commitbca7c20764c83a44c7b8b0831089922d56a3a9a2 (patch)
tree18c82b8b8e5b3542301421d5e165541ce0d8b5f7 /mm/hugetlb.c
parent9f650cf2b811cfb605f10483eeb1dc86f43cdbcb (diff)
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 <lethal@linux-sh.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions