diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-06-28 16:56:00 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-06-29 11:09:39 +0100 |
commit | 02129ae5fea83294b45c8f16c4ff14ae94e6858d (patch) | |
tree | 9483e778a453e71f85b15690729233638f585d72 /fs/freevxfs | |
parent | 57c138357d5922878b3bc5207bd59b8512ee80e6 (diff) | |
download | linux-02129ae5fea83294b45c8f16c4ff14ae94e6858d.tar.gz linux-02129ae5fea83294b45c8f16c4ff14ae94e6858d.tar.bz2 linux-02129ae5fea83294b45c8f16c4ff14ae94e6858d.zip |
arm64: fix endianness annotation for reloc_insn_movw() & reloc_insn_imm()
Here the functions reloc_insn_movw() & reloc_insn_imm() are used
to read, modify and write back ARM instructions, which are always
stored in memory in little-endian order. These values are thus
correctly converted to/from native order but the pointers used to
hold their addresses are declared as for native order values.
Fix this by declaring the pointers as __le32* and remove the
casts that are now unneeded.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'fs/freevxfs')
0 files changed, 0 insertions, 0 deletions