summaryrefslogtreecommitdiff
path: root/arch/mips/lib/cmpdi2.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2015-07-15 18:17:45 +0300
committerRalf Baechle <ralf@linux-mips.org>2015-09-03 13:07:48 +0300
commit5d3c3c7d296d9622560558de96875cf694d96f58 (patch)
tree57c83572647179b396e7794d924120115b153dd1 /arch/mips/lib/cmpdi2.c
parentaaa7be48fdbf14836ff1bc61c72969960a5923c6 (diff)
downloadlinux-5d3c3c7d296d9622560558de96875cf694d96f58.tar.xz
MIPS: dump_tlb: Only dump PageGrain if interesting
The PageGrain register may not exist if certain architectural features aren't present, therefore only print out its value when dumping the TLB registers if it is expected to contain fields relevant to the TLB. Fixes: d1e9a4f54735 ("MIPS: Add SysRq operation to dump TLBs on all CPUs") Reported-by: Joshua Kinard <kumba@gentoo.org> Reported-by: Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Joshua Kinard <kumba@gentoo.org> Cc: Maciej W. Rozycki <macro@linux-mips.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/10723/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lib/cmpdi2.c')
0 files changed, 0 insertions, 0 deletions