]> Pileus Git - ~andy/linux/commit
arch: tile: include: asm: add cmpxchg64() definition
authorChen Gang <gang.chen@asianux.com>
Mon, 1 Jul 2013 02:21:51 +0000 (10:21 +0800)
committerChris Metcalf <cmetcalf@tilera.com>
Wed, 17 Jul 2013 16:45:38 +0000 (12:45 -0400)
commitcf3a13d790f9760c4bfcae802aaba80efb3519af
tree0cc53bc904fb2b7439c3f4dfc0919189d4dc2b9a
parentad81f0545ef01ea651886dddac4bef6cec930092
arch: tile: include: asm: add cmpxchg64() definition

Need add cmpxchg64(), or will cause compiling issue.

Need define it as cmpxchg() only for 64-bit operation, since cmpxchg()
can support 8 bytes.

The related error (with allmodconfig):

  drivers/block/blockconsole.c: In function ‘bcon_advance_console_bytes’:
  drivers/block/blockconsole.c:164:2: error: implicit declaration of function ‘cmpxchg64’ [-Werror=implicit-function-declaration]

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/include/asm/cmpxchg.h