diff options
author | H. Nikolaus Schaller <hns@goldelico.com> | 2015-10-28 19:00:26 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-10-29 16:20:15 +0100 |
commit | 38850d786a799c3ff2de0dc1980902c3263698dc (patch) | |
tree | 16fb0c8121008be9545e62086827d40a76b35078 /arch/arm/vdso/vdsomunge.c | |
parent | clkdev: fix clk_add_alias() with a NULL alias device name (diff) | |
download | linux-38850d786a799c3ff2de0dc1980902c3263698dc.tar.xz linux-38850d786a799c3ff2de0dc1980902c3263698dc.zip |
ARM: 8449/1: fix bug in vdsomunge swab32 macro
Commit 8a603f91cc48 ("ARM: 8445/1: fix vdsomunge not to depend on
glibc specific byteswap.h") unfortunately introduced a bug created but
not found during discussion and patch simplification.
Reported-by: Efraim Yawitz <efraim.yawitz@gmail.com>
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Fixes: 8a603f91cc48 ("ARM: 8445/1: fix vdsomunge not to depend on glibc specific byteswap.h")
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/vdso/vdsomunge.c')
-rw-r--r-- | arch/arm/vdso/vdsomunge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/vdso/vdsomunge.c b/arch/arm/vdso/vdsomunge.c index 0cebd98cd88c..f6455273b2f8 100644 --- a/arch/arm/vdso/vdsomunge.c +++ b/arch/arm/vdso/vdsomunge.c @@ -66,7 +66,7 @@ ((((x) & 0x000000ff) << 24) | \ (((x) & 0x0000ff00) << 8) | \ (((x) & 0x00ff0000) >> 8) | \ - (((x) & 0xff000000) << 24)) + (((x) & 0xff000000) >> 24)) #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ #define HOST_ORDER ELFDATA2LSB |