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
..
2010-11-04 12:32:24 +09:00
2016-01-26 10:18:29 +02:00
2014-04-18 14:20:44 +02:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-12 22:19:10 +01:00
2016-01-12 20:47:01 +02:00
2016-01-12 20:47:01 +02:00
2016-01-12 20:47:01 +02:00
2012-01-13 16:27:38 +09:00
2012-05-19 18:50:09 +09:00
2013-01-11 21:02:57 +09:00
2014-01-23 16:36:54 -08:00
2012-03-28 18:30:03 +01:00
2011-07-26 16:49:47 -07:00
2012-05-18 14:52:31 +09:00
2010-11-01 09:49:04 -04:00
2015-09-08 14:35:59 -07:00
2012-05-21 17:54:01 +09:00
2010-10-07 14:08:55 +01:00
2012-05-24 15:03:46 +09:00
2010-06-14 15:16:53 +09:00
2010-03-10 16:29:48 +09:00
2010-01-20 16:42:52 +09:00
2015-01-13 15:24:08 +02:00
2010-04-26 19:08:55 +09:00
2012-05-14 13:04:08 +09:00
2015-01-13 15:23:38 +02:00
2015-01-13 15:23:21 +02:00
2011-03-31 11:26:23 -03:00