From: Chen Gang Date: Mon, 27 May 2013 11:57:01 +0000 (+0800) Subject: arch: xtensa: include: asm: compiling issue, need cmpxchg64() defined. X-Git-Tag: v3.11-rc1~25^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5514786ec3257c8703fc7f29bdf98b42253ee39;p=pandora-kernel.git arch: xtensa: include: asm: compiling issue, need cmpxchg64() defined. When compiling with 'allmodconfig', some of drivers need cmpxchg64(), xtensa does not supply 64-bit implementation for 'xchg', so use the 'generic' implementation. e.g. (for next-20130527 tree): drivers/block/blockconsole.c:164:2: error: implicit declaration of function ‘cmpxchg64’ [-Werror=implicit-function-declaration] Signed-off-by: Chen Gang Signed-off-by: Max Filippov Signed-off-by: Chris Zankel --- Reading git-diff-tree failed