summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/file.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-11-05 10:16:52 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2013-11-05 10:23:13 +0000
commit122e2fa0d310d262cb85cf0b003032e5d2bc2ae7 (patch)
treed6d40641150f867af562c1dfb84c3d17f05fdd72 /fs/ecryptfs/file.c
parentdab7ea360967f26337be1f26f56b12771da8c731 (diff)
downloadlinux-122e2fa0d310d262cb85cf0b003032e5d2bc2ae7.tar.gz
linux-122e2fa0d310d262cb85cf0b003032e5d2bc2ae7.tar.bz2
linux-122e2fa0d310d262cb85cf0b003032e5d2bc2ae7.zip
arm64: module: ensure instruction is little-endian before manipulation
Relocations that require an instruction immediate to be re-encoded must ensure that the instruction pattern is represented in a little-endian format for the manipulation code to work correctly. This patch converts the loaded instruction into native-endianess prior to encoding and then converts back to little-endian byteorder before updating memory. Signed-off-by: Will Deacon <will.deacon@arm.com> Tested-by: Matthew Leach <matthew.leach@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'fs/ecryptfs/file.c')
0 files changed, 0 insertions, 0 deletions