Re: [PATCH] arch: xtensa: include: asm: compiling issue, needcmpxchg64() defined.

From: Max Filippov
Date: Mon May 27 2013 - 12:20:00 EST


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

Taken to the xtensa-fixes tree. Thanks.

-- Max
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/