linux/arch/sh
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: 3226aad81a ("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
..
boards DeviceTree update for 4.8: 2016-07-30 11:32:01 -07:00
boot kbuild: delete unnecessary "@:" 2016-04-20 10:36:57 +02:00
cchips genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
configs arch/defconfig: remove CONFIG_RESOURCE_COUNTERS 2016-05-23 17:04:14 -07:00
drivers PCI: Remove unused "pci_probe" flags 2015-07-27 17:09:40 -05:00
include sh: cmpxchg: fix a bit shift bug in big_endian os 2016-07-31 03:33:32 +00:00
kernel sh/perf: Convert the hotplug notifiers to state machine callbacks 2016-07-14 09:34:39 +02:00
lib sh: New gcc support 2016-03-17 19:45:44 +00:00
lib64 sh64: Kill off old exception debugging helpers. 2012-06-14 14:12:18 +09:00
math-emu sh: remove unused do_fpu_error 2014-04-03 16:20:52 -07:00
mm mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
oprofile oprofile, arm/sh: Fix oprofile_arch_exit() linkage issue 2011-12-23 11:58:34 +01:00
tools sh: Add RSK2+SH7269 board 2012-05-10 17:20:01 +09:00
Kconfig sh: do away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB 2016-06-08 09:55:20 +02:00
Kconfig.cpu arch/sh: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:43:13 -08:00
Kconfig.debug sh: dwarf unwinder depends on SHcompact. 2012-03-30 19:31:22 +09:00
Makefile sh: also try passing -m4-nofpu for SH2A builds 2014-07-23 15:10:54 -07:00