projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1763e6
)
powerpc/ptrace: drop PARAMETER_SAVE_AREA_OFFSET
author
Christophe Leroy
<christophe.leroy@c-s.fr>
Fri, 28 Feb 2020 00:14:40 +0000
(
00:14
+0000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 1 Apr 2020 03:30:47 +0000
(14:30 +1100)
PARAMETER_SAVE_AREA_OFFSET is not used, drop it.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/6dac2b49207647f75cbf0e6771a545e691f0fd93.1582848567.git.christophe.leroy@c-s.fr
arch/powerpc/kernel/ptrace/ptrace.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/ptrace/ptrace.c
b/arch/powerpc/kernel/ptrace/ptrace.c
index 3dd94c296ac744ccb4d8f56406f49ac727289f52..22826c942eaeff88cbdac85970a5b9c9b01e0769 100644
(file)
--- a/
arch/powerpc/kernel/ptrace/ptrace.c
+++ b/
arch/powerpc/kernel/ptrace/ptrace.c
@@
-33,16
+33,6
@@
#define CREATE_TRACE_POINTS
#include <trace/events/syscalls.h>
-/*
- * The parameter save area on the stack is used to store arguments being passed
- * to callee function and is located at fixed offset from stack pointer.
- */
-#ifdef CONFIG_PPC32
-#define PARAMETER_SAVE_AREA_OFFSET 24 /* bytes */
-#else /* CONFIG_PPC32 */
-#define PARAMETER_SAVE_AREA_OFFSET 48 /* bytes */
-#endif
-
struct pt_regs_offset {
const char *name;
int offset;