diff options
author | Dave Martin <Dave.Martin@arm.com> | 2019-01-04 16:09:50 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-01-04 16:31:45 +0300 |
commit | ee1b465b303591d3a04d403122bbc0d7026520fb (patch) | |
tree | 21f77569f463ef3300e5aea95c14e0b96cca933f /arch/xtensa/lib/checksum.S | |
parent | eb4f5213251833567570df1a09803f895653274d (diff) | |
download | linux-ee1b465b303591d3a04d403122bbc0d7026520fb.tar.xz |
arm64/sve: ptrace: Fix SVE_PT_REGS_OFFSET definition
SVE_PT_REGS_OFFSET is supposed to indicate the offset for skipping
over the ptrace NT_ARM_SVE header (struct user_sve_header) to the
start of the SVE register data proper.
However, currently SVE_PT_REGS_OFFSET is defined in terms of struct
sve_context, which is wrong: that structure describes the SVE
header in the signal frame, not in the ptrace regset.
This patch fixes the definition to use the ptrace header structure
struct user_sve_header instead.
By good fortune, the two structures are the same size anyway, so
there is no functional or ABI change.
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/xtensa/lib/checksum.S')
0 files changed, 0 insertions, 0 deletions