diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-06-28 16:58:03 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-06-30 18:11:28 +0200 |
commit | 425e1ed73e6574e4fe186ec82fd37213cbd47df0 (patch) | |
tree | f5c1b14561bd44748353c203903539e39bf222c1 /arch/arm/mach-at91/generic.h | |
parent | arm64: cpuinfo: constify attribute_group structures. (diff) | |
download | linux-425e1ed73e6574e4fe186ec82fd37213cbd47df0.tar.xz linux-425e1ed73e6574e4fe186ec82fd37213cbd47df0.zip |
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.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/mach-at91/generic.h')
0 files changed, 0 insertions, 0 deletions