[Linux-Xtensa] Re: [PATCH] arch: xtensa: include: asm: compiling issue, need cmpxchg64() defined.

Max Filippov jcmvbkbc at gmail.com
Mon May 27 09:19:53 PDT 2013


On Mon, May 27, 2013 at 3:57 PM, Chen Gang <gang.chen at asianux.com> wrote:
>
> 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 at asianux.com>
> ---
>  arch/xtensa/include/asm/cmpxchg.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Taken to the xtensa-fixes tree. Thanks.

-- Max


More information about the linux-xtensa mailing list