kernel_samsung_a53x/arch/m68k
Thorsten Blum bffb9d5642 m68k: cmpxchg: Fix return value for default case in __arch_xchg()
[ Upstream commit 21b9e722ad28c19c2bc83f18f540b3dbd89bf762 ]

The return value of __invalid_xchg_size() is assigned to tmp instead of
the return variable x. Assign it to x instead.

Fixes: 2501cf768e4009a0 ("m68k: Fix xchg/cmpxchg to fail to link if given an inappropriate pointer")
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/20240702034116.140234-2-thorsten.blum@toblux.com
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:20:06 +01:00
..
68000 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amiga Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
apollo Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atari m68k: atari: Fix TT bootup freeze / unexpected (SCU) interrupt messages 2024-11-23 23:20:06 +01:00
bvme6000 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
coldfire Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
configs Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
emu Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fpsp040 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hp300 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ifpsp060 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
include m68k: cmpxchg: Fix return value for default case in __arch_xchg() 2024-11-23 23:20:06 +01:00
kernel m68k: Fix spinlock race in kernel thread creation 2024-11-19 12:26:56 +01:00
lib Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mac m68k: mac: Fix reboot hang on Mac IIci 2024-11-19 12:26:56 +01:00
math-emu Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mvme16x Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mvme147 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
q40 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun3 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun3x Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tools/amiga Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
install.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kbuild Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.bus Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.cpu Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.debug Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.devices Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.machine Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00