Pan Xinhui ff18143cee sh: cmpxchg: fix a bit shift bug in big_endian os
Correct bitoff in big endian OS.
Current code works correctly for 1 byte but not for 2 bytes.

Fixes: 3226aad81aa6 ("sh: support 1 and 2 byte xchg")
Signed-off-by: Pan Xinhui <xinhui.pan@linux.vnet.ibm.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rich Felker <dalias@libc.org>
2016-07-31 03:33:32 +00:00
..
2016-07-30 11:32:01 -07:00
2016-04-20 10:36:57 +02:00
2016-03-17 19:45:44 +00:00
2014-04-03 16:20:52 -07:00
2012-05-10 17:20:01 +09:00