aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arc/include/asm/ptrace.h')
-rw-r--r--arch/arc/include/asm/ptrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/include/asm/ptrace.h b/arch/arc/include/asm/ptrace.h
index 6179de7e07c2..f82a3a2201b5 100644
--- a/arch/arc/include/asm/ptrace.h
+++ b/arch/arc/include/asm/ptrace.h
@@ -110,7 +110,7 @@ struct callee_regs {
110 /* open-coded current_thread_info() */ \ 110 /* open-coded current_thread_info() */ \
111 register unsigned long sp asm ("sp"); \ 111 register unsigned long sp asm ("sp"); \
112 unsigned long pg_start = (sp & ~(THREAD_SIZE - 1)); \ 112 unsigned long pg_start = (sp & ~(THREAD_SIZE - 1)); \
113 (struct pt_regs *)(pg_start + THREAD_SIZE - 4) - 1; \ 113 (struct pt_regs *)(pg_start + THREAD_SIZE) - 1; \
114}) 114})
115 115
116static inline long regs_return_value(struct pt_regs *regs) 116static inline long regs_return_value(struct pt_regs *regs)