projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM64: DTS: Add rk3399-firefly uart4 device, node as /dev/ttyS1
[firefly-linux-kernel-4.4.55.git]
/
arch
/
mips
/
include
/
asm
/
ptrace.h
diff --git
a/arch/mips/include/asm/ptrace.h
b/arch/mips/include/asm/ptrace.h
index f6fc6aac54963fcebcf7a55e094ec32689923ea7..b6578611dddbfc37e9a7bea36886affe93d87411 100644
(file)
--- a/
arch/mips/include/asm/ptrace.h
+++ b/
arch/mips/include/asm/ptrace.h
@@
-152,7
+152,7
@@
static inline int is_syscall_success(struct pt_regs *regs)
static inline long regs_return_value(struct pt_regs *regs)
{
- if (is_syscall_success(regs))
+ if (is_syscall_success(regs)
|| !user_mode(regs)
)
return regs->regs[2];
else
return -regs->regs[2];