From: Chen Gang Date: Mon, 1 Jul 2013 02:21:51 +0000 (+0800) Subject: arch: tile: include: asm: add cmpxchg64() definition X-Git-Tag: v3.12-rc1~120^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf3a13d790f9760c4bfcae802aaba80efb3519af;p=pandora-kernel.git 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 Signed-off-by: Chris Metcalf --- Reading git-diff-tree failed