mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 11:09:29 +07: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
@ -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 New Issue
Block a user