mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
parisc: Use PRIV_USER instead of hardcoded value
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
9542130937
commit
75f653f0c6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user