diff options
-rw-r--r-- | arch/sh/mm/alignment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/mm/alignment.c b/arch/sh/mm/alignment.c index e615151eac3b..2da808802a4c 100644 --- a/arch/sh/mm/alignment.c +++ b/arch/sh/mm/alignment.c | |||
@@ -69,12 +69,12 @@ void unaligned_fixups_notify(struct task_struct *tsk, insn_size_t insn, | |||
69 | pr_notice("Fixing up unaligned userspace access " | 69 | pr_notice("Fixing up unaligned userspace access " |
70 | "in \"%s\" pid=%d pc=0x%p ins=0x%04hx\n", | 70 | "in \"%s\" pid=%d pc=0x%p ins=0x%04hx\n", |
71 | tsk->comm, task_pid_nr(tsk), | 71 | tsk->comm, task_pid_nr(tsk), |
72 | (void *)regs->pc, insn); | 72 | (void *)instruction_pointer(regs), insn); |
73 | else if (se_kernmode_warn && printk_ratelimit()) | 73 | else if (se_kernmode_warn && printk_ratelimit()) |
74 | pr_notice("Fixing up unaligned kernel access " | 74 | pr_notice("Fixing up unaligned kernel access " |
75 | "in \"%s\" pid=%d pc=0x%p ins=0x%04hx\n", | 75 | "in \"%s\" pid=%d pc=0x%p ins=0x%04hx\n", |
76 | tsk->comm, task_pid_nr(tsk), | 76 | tsk->comm, task_pid_nr(tsk), |
77 | (void *)regs->pc, insn); | 77 | (void *)instruction_pointer(regs), insn); |
78 | } | 78 | } |
79 | 79 | ||
80 | static const char *se_usermode_action[] = { | 80 | static const char *se_usermode_action[] = { |