aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/ptdump/segment_regs.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/ptdump/segment_regs.c')
-rw-r--r--arch/powerpc/mm/ptdump/segment_regs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/ptdump/segment_regs.c b/arch/powerpc/mm/ptdump/segment_regs.c
index dde2fe8de4b2..565048a0c9be 100644
--- a/arch/powerpc/mm/ptdump/segment_regs.c
+++ b/arch/powerpc/mm/ptdump/segment_regs.c
@@ -10,7 +10,7 @@
static void seg_show(struct seq_file *m, int i)
{
- u32 val = mfsrin(i << 28);
+ u32 val = mfsr(i << 28);
seq_printf(m, "0x%01x0000000-0x%01xfffffff ", i, i);
seq_printf(m, "Kern key %d ", (val >> 30) & 1);