Re: [PATCH V5 17/30] csky: Misc headers

2018-09-26 Thread Guo Ren
On Tue, Sep 25, 2018 at 12:45:41PM +0200, Peter Zijlstra wrote: > On Tue, Sep 25, 2018 at 12:08:03PM +0200, Andrea Parri wrote: > > Hi Guo, > > > > > +/* > > > + * set_bit - Atomically set a bit in memory > > > + * @nr: the bit to set > > > + * @addr: the address to start counting from > > > + * >

Re: [PATCH V5 17/30] csky: Misc headers

2018-09-25 Thread Peter Zijlstra
On Tue, Sep 25, 2018 at 12:08:03PM +0200, Andrea Parri wrote: > Hi Guo, > > > +/* > > + * set_bit - Atomically set a bit in memory > > + * @nr: the bit to set > > + * @addr: the address to start counting from > > + * > > + * This function is atomic and may not be reordered. See __set_bit() > > +

Re: [PATCH V5 17/30] csky: Misc headers

2018-09-25 Thread Andrea Parri
Hi Guo, > +/* > + * set_bit - Atomically set a bit in memory > + * @nr: the bit to set > + * @addr: the address to start counting from > + * > + * This function is atomic and may not be reordered. See __set_bit() > + * if you do not require the atomic guarantees. > + * > + * Note: there are no gu

[PATCH V5 17/30] csky: Misc headers

2018-09-24 Thread Guo Ren
This patch adds csky register definition, byteorder, asm-offsets codes. Signed-off-by: Guo Ren --- arch/csky/abiv1/inc/abi/reg_ops.h | 27 arch/csky/abiv1/inc/abi/regdef.h | 26 +++ arch/csky/abiv2/inc/abi/reg_ops.h | 17 ++ arch/csky/abiv2/inc/abi/regdef.h | 26 ++