]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
arch: xtensa: include: asm: compiling issue, need cmpxchg64() defined.
authorChen Gang <gang.chen@asianux.com>
Mon, 27 May 2013 11:57:01 +0000 (19:57 +0800)
committerChris Zankel <chris@zankel.net>
Wed, 5 Jun 2013 17:14:21 +0000 (10:14 -0700)
commitb5514786ec3257c8703fc7f29bdf98b42253ee39
treefec532fa34662e03e2582d19783f49ca2ae11e75
parent54c0af9f1a1bfe9639666aea789dae6a37a741cf
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 <gang.chen@asianux.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/include/asm/cmpxchg.h