mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
powerpc/ptrace: drop PARAMETER_SAVE_AREA_OFFSET
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
This commit is contained in:
parent
f1763e623c
commit
963ae6b2ff
1 changed files with 0 additions and 10 deletions
|
@ -33,16 +33,6 @@
|
||||||
#define CREATE_TRACE_POINTS
|
#define CREATE_TRACE_POINTS
|
||||||
#include <trace/events/syscalls.h>
|
#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 {
|
struct pt_regs_offset {
|
||||||
const char *name;
|
const char *name;
|
||||||
int offset;
|
int offset;
|
||||||
|
|
Loading…
Reference in a new issue