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

From: Chen Gang
Date: Tue May 28 2013 - 00:58:12 EST


On 05/28/2013 12:19 AM, Max Filippov wrote:
> 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.
>

Thank you too.

--
Chen Gang

Asianux Corporation
--
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/