Re: [PATCH v2] arch: tile: include: asm: add cmpxchg64() definition

From: Chen Gang
Date: Wed Jul 17 2013 - 20:03:15 EST


On 07/18/2013 12:46 AM, Chris Metcalf wrote:
> On 6/30/2013 10:21 PM, Chen Gang wrote:
>> Need add cmpxchg64(), or will cause compiling issue.
>>
>> Need define it as cmpxchg() only for 64-bit operation, since cmpxchg()
>> can support 8 bytes.
>>
>> The related error (with allmodconfig):
>>
>> drivers/block/blockconsole.c: In function âbcon_advance_console_bytesâ:
>> drivers/block/blockconsole.c:164:2: error: implicit declaration of function âcmpxchg64â [-Werror=implicit-function-declaration]
>>
>> Signed-off-by: Chen Gang <gang.chen@xxxxxxxxxxx>
>
> Thanks, taken into the tile tree.
>

Thank you too.

:-)

--
Chen Gang
--
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/