Skip to content
Commit bca7c207 authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 9f650cf2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment