projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] consolidate sys_ptrace()
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
include
/
asm-sparc64
/
ptrace.h
diff --git
a/include/asm-sparc64/ptrace.h
b/include/asm-sparc64/ptrace.h
index 6194f771e9fc738536b0165a2ee7f6b99e625b34..7eba90c6c7535394859269ea5610f31650a3b247 100644
(file)
--- a/
include/asm-sparc64/ptrace.h
+++ b/
include/asm-sparc64/ptrace.h
@@
-94,6
+94,9
@@
struct sparc_trapf {
#define STACKFRAME32_SZ sizeof(struct sparc_stackf32)
#ifdef __KERNEL__
+
+#define __ARCH_SYS_PTRACE 1
+
#define force_successful_syscall_return() \
do { current_thread_info()->syscall_noerror = 1; \
} while (0)