diff options
| author | Mathieu Desnoyers <[email protected]> | 2022-01-27 10:27:20 -0500 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2022-02-02 13:11:34 +0100 |
| commit | bfdf4e6208051ed7165b2e92035b4bf11f43eb63 (patch) | |
| tree | 69822a3cb551575eb6702833efccc29d961bd25b /scripts/gdb/linux/clk.py | |
| parent | 5c105d55a9dc9e01535116ccfc26e703168a574f (diff) | |
rseq: Remove broken uapi field layout on 32-bit little endian
The rseq rseq_cs.ptr.{ptr32,padding} uapi endianness handling is
entirely wrong on 32-bit little endian: a preprocessor logic mistake
wrongly uses the big endian field layout on 32-bit little endian
architectures.
Fortunately, those ptr32 accessors were never used within the kernel,
and only meant as a convenience for user-space.
Remove those and replace the whole rseq_cs union by a __u64 type, as
this is the only thing really needed to express the ABI. Document how
32-bit architectures are meant to interact with this field.
Fixes: ec9c82e03a74 ("rseq: uapi: Declare rseq_cs field as union, update includes")
Signed-off-by: Mathieu Desnoyers <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions