OSDN Git Service

MIPS: R3000: Fix debug output for Virtual page number
authorIsamu Mogi <isamu@leafytree.jp>
Thu, 30 Oct 2014 13:07:36 +0000 (22:07 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 6 Nov 2014 14:49:36 +0000 (15:49 +0100)
commit491a48aa52f03b4654edbf8f97c1aa7d2f24f62e
tree212152bf78063831ef126b2393602380e0f5882c
parent0097761013253930341e23723d64e0845c3f9edd
MIPS: R3000: Fix debug output for Virtual page number

Virtual page number of R3000 in entryhi is 20 bit from MSB. But in
dump_tlb(), the bit mask to read it from entryhi is 19 bit (0xffffe000).
The patch fixes that to 0xfffff000.

Signed-off-by: Isamu Mogi <isamu@leafytree.jp>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8290/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lib/r3k_dump_tlb.c