]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: Add missing cmpxchg64() if CONFIG_RMW_INSNS=y
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 14 Mar 2013 19:25:28 +0000 (20:25 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 16 Apr 2013 19:08:09 +0000 (21:08 +0200)
commite3138911e8b52ec510f8aeea483676dada9a3429
tree8d68d76171e20ccba5c4dcf787109a88428b2c1a
parent3d34597d718ce53665fd0801124f99ffdab92e9b
m68k: Add missing cmpxchg64() if CONFIG_RMW_INSNS=y

If CONFIG_RMW_INSNS=y:

drivers/block/blockconsole.c: In function ‘bcon_advance_console_bytes’:
drivers/block/blockconsole.c:164: error: implicit declaration of function ‘cmpxchg64’

Map cmpxchg64 to cmpxchg64_local, which is already mapped to
__cmpxchg64_local_generic, just like for the CONFIG_RMW_INSNS=n case.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/cmpxchg.h