git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'asoc/fix/mtk' into asoc-linus
[sfrench/cifs-2.6.git]
/
arch
/
riscv
/
include
/
asm
/
ptrace.h
diff --git
a/arch/riscv/include/asm/ptrace.h
b/arch/riscv/include/asm/ptrace.h
index 93b8956e25e46714a5bd789ed0ea15ebb2a687f2..2c5df945d43c9abfdfd197a61d8c92ce20e48133 100644
(file)
--- a/
arch/riscv/include/asm/ptrace.h
+++ b/
arch/riscv/include/asm/ptrace.h
@@
-66,7
+66,7
@@
struct pt_regs {
#define REG_FMT "%08lx"
#endif
-#define user_mode(regs) (((regs)->sstatus & SR_
PS
) == 0)
+#define user_mode(regs) (((regs)->sstatus & SR_
SPP
) == 0)
/* Helpers for working with the instruction pointer */