diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-06-28 16:58:03 +0200 |
|---|---|---|
| committer | Bruno Martins <bgcngm@gmail.com> | 2024-01-10 14:16:43 +0000 |
| commit | d3f707e976753bb8824b3989e246447e075e3f01 (patch) | |
| tree | 94c49b4c09051115ee4a3fca09647339774ae7fa /kernel_headers.py | |
| parent | 29da450cb1a0e7215d3136320daa461ea28fd628 (diff) | |
arm64: fix endianness annotation for 'struct jit_ctx' and friends
struct jit_ctx::image is used the store a pointer to the jitted
intructions, which are always little-endian. These instructions
are thus correctly converted from native order to little-endian
before being stored but the pointer 'image' is declared as for
native order values.
Fix this by declaring the field as __le32* instead of u32*.
Same for the pointer used in jit_fill_hole() to initialize
the image.
Change-Id: I5afd33008ee5c035d9b61cf77a4ab4b740ac3240
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'kernel_headers.py')
0 files changed, 0 insertions, 0 deletions
