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

2013-07-17 Thread Chen Gang
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): >> >> dr

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

2013-07-17 Thread Chris Metcalf
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_c

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

2013-06-30 Thread Chen Gang
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: