summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2024-09-10 18:42:05 +0200
committerHelge Deller <deller@gmx.de>2024-09-16 22:58:55 +0200
commit75f653f0c6318ae0acfd6277efba3f9bd7cf837c (patch)
tree197ba1835ae187584d36e188cddc6862ae15c563 /arch/parisc
parentparisc: Fix itlb miss handler for 64-bit programs (diff)
downloadlinux-75f653f0c6318ae0acfd6277efba3f9bd7cf837c.tar.xz
linux-75f653f0c6318ae0acfd6277efba3f9bd7cf837c.zip
parisc: Use PRIV_USER instead of hardcoded value
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/traps.c b/arch/parisc/kernel/traps.c
index 1107ca819ac8..294b0e026c9a 100644
--- a/arch/parisc/kernel/traps.c
+++ b/arch/parisc/kernel/traps.c
@@ -504,7 +504,7 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
if (((unsigned long)regs->iaoq[0] & 3) &&
((unsigned long)regs->iasq[0] != (unsigned long)regs->sr[7])) {
/* Kill the user process later */
- regs->iaoq[0] = 0 | 3;
+ regs->iaoq[0] = 0 | PRIV_USER;
regs->iaoq[1] = regs->iaoq[0] + 4;
regs->iasq[0] = regs->iasq[1] = regs->sr[7];
regs->gr[0] &= ~PSW_B;