Skip to content

Commit 38850d7

Browse files
goldelicoRussell King
authored andcommitted
ARM: 8449/1: fix bug in vdsomunge swab32 macro
Commit 8a603f9 ("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: 8a603f9 ("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>
1 parent 625faa6 commit 38850d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/arm/vdso/vdsomunge.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
((((x) & 0x000000ff) << 24) | \
6767
(((x) & 0x0000ff00) << 8) | \
6868
(((x) & 0x00ff0000) >> 8) | \
69-
(((x) & 0xff000000) << 24))
69+
(((x) & 0xff000000) >> 24))
7070

7171
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
7272
#define HOST_ORDER ELFDATA2LSB

0 commit comments

Comments
 (0)