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

From: Chris Metcalf
Date: Wed Jul 17 2013 - 12:47:04 EST


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.

--
Chris Metcalf, Tilera Corp.
http://www.tilera.com

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