Re: [PATCH 3/3] arm64: include: asm: atomic.h: use 'unsigned int' and 'atomic_t' instead of 'unsigned long' for atomic_clear_mask()

2013-10-11 Thread Chen Gang
On 10/11/2013 06:44 PM, Will Deacon wrote: > On Fri, Oct 11, 2013 at 02:18:26AM +0100, Chen Gang wrote: >> On 10/10/2013 10:23 PM, Will Deacon wrote: >>> On Thu, Oct 10, 2013 at 12:03:52PM +0100, Chen Gang wrote: BTW: do arm64 need atomic_clear_mask()? >>> >>> No. Neither ARM nor arm64 need

Re: [PATCH 3/3] arm64: include: asm: atomic.h: use 'unsigned int' and 'atomic_t' instead of 'unsigned long' for atomic_clear_mask()

2013-10-11 Thread Will Deacon
On Fri, Oct 11, 2013 at 02:18:26AM +0100, Chen Gang wrote: > On 10/10/2013 10:23 PM, Will Deacon wrote: > > On Thu, Oct 10, 2013 at 12:03:52PM +0100, Chen Gang wrote: > >> BTW: do arm64 need atomic_clear_mask()? > > > > No. Neither ARM nor arm64 need this function. > > OK, thank you for your

Re: [PATCH 3/3] arm64: include: asm: atomic.h: use 'unsigned int' and 'atomic_t' instead of 'unsigned long' for atomic_clear_mask()

2013-10-11 Thread Will Deacon
On Fri, Oct 11, 2013 at 02:18:26AM +0100, Chen Gang wrote: On 10/10/2013 10:23 PM, Will Deacon wrote: On Thu, Oct 10, 2013 at 12:03:52PM +0100, Chen Gang wrote: BTW: do arm64 need atomic_clear_mask()? No. Neither ARM nor arm64 need this function. OK, thank you for your confirmation.

Re: [PATCH 3/3] arm64: include: asm: atomic.h: use 'unsigned int' and 'atomic_t' instead of 'unsigned long' for atomic_clear_mask()

2013-10-11 Thread Chen Gang
On 10/11/2013 06:44 PM, Will Deacon wrote: On Fri, Oct 11, 2013 at 02:18:26AM +0100, Chen Gang wrote: On 10/10/2013 10:23 PM, Will Deacon wrote: On Thu, Oct 10, 2013 at 12:03:52PM +0100, Chen Gang wrote: BTW: do arm64 need atomic_clear_mask()? No. Neither ARM nor arm64 need this function.

Re: [PATCH 3/3] arm64: include: asm: atomic.h: use 'unsigned int' and 'atomic_t' instead of 'unsigned long' for atomic_clear_mask()

2013-10-10 Thread Chen Gang
On 10/10/2013 10:23 PM, Will Deacon wrote: > On Thu, Oct 10, 2013 at 12:03:52PM +0100, Chen Gang wrote: >> On 10/10/2013 06:07 PM, Will Deacon wrote: >>> On Thu, Oct 10, 2013 at 03:35:21AM +0100, Chen Gang wrote: In current kernel wide source, for arm64, only s390 scsi drivers use

Re: [PATCH 3/3] arm64: include: asm: atomic.h: use 'unsigned int' and 'atomic_t' instead of 'unsigned long' for atomic_clear_mask()

2013-10-10 Thread Will Deacon
On Thu, Oct 10, 2013 at 12:03:52PM +0100, Chen Gang wrote: > On 10/10/2013 06:07 PM, Will Deacon wrote: > > On Thu, Oct 10, 2013 at 03:35:21AM +0100, Chen Gang wrote: > >> In current kernel wide source, for arm64, only s390 scsi drivers use > >> atomic_clear_mask(), now, s390 itself need use

Re: [PATCH 3/3] arm64: include: asm: atomic.h: use 'unsigned int' and 'atomic_t' instead of 'unsigned long' for atomic_clear_mask()

2013-10-10 Thread Chen Gang
On 10/10/2013 06:07 PM, Will Deacon wrote: > On Thu, Oct 10, 2013 at 03:35:21AM +0100, Chen Gang wrote: >> In current kernel wide source, for arm64, only s390 scsi drivers use >> atomic_clear_mask(), now, s390 itself need use 'unsigned int' and >> 'atomic_t', so need match s390's

Re: [PATCH 3/3] arm64: include: asm: atomic.h: use 'unsigned int' and 'atomic_t' instead of 'unsigned long' for atomic_clear_mask()

2013-10-10 Thread Will Deacon
On Thu, Oct 10, 2013 at 03:35:21AM +0100, Chen Gang wrote: > In current kernel wide source, for arm64, only s390 scsi drivers use > atomic_clear_mask(), now, s390 itself need use 'unsigned int' and > 'atomic_t', so need match s390's atomic_clear_mask(). > > > Signed-off-by: Chen Gang > --- >

Re: [PATCH 3/3] arm64: include: asm: atomic.h: use 'unsigned int' and 'atomic_t' instead of 'unsigned long' for atomic_clear_mask()

2013-10-10 Thread Will Deacon
On Thu, Oct 10, 2013 at 03:35:21AM +0100, Chen Gang wrote: In current kernel wide source, for arm64, only s390 scsi drivers use atomic_clear_mask(), now, s390 itself need use 'unsigned int' and 'atomic_t', so need match s390's atomic_clear_mask(). Signed-off-by: Chen Gang

Re: [PATCH 3/3] arm64: include: asm: atomic.h: use 'unsigned int' and 'atomic_t' instead of 'unsigned long' for atomic_clear_mask()

2013-10-10 Thread Chen Gang
On 10/10/2013 06:07 PM, Will Deacon wrote: On Thu, Oct 10, 2013 at 03:35:21AM +0100, Chen Gang wrote: In current kernel wide source, for arm64, only s390 scsi drivers use atomic_clear_mask(), now, s390 itself need use 'unsigned int' and 'atomic_t', so need match s390's atomic_clear_mask().

Re: [PATCH 3/3] arm64: include: asm: atomic.h: use 'unsigned int' and 'atomic_t' instead of 'unsigned long' for atomic_clear_mask()

2013-10-10 Thread Will Deacon
On Thu, Oct 10, 2013 at 12:03:52PM +0100, Chen Gang wrote: On 10/10/2013 06:07 PM, Will Deacon wrote: On Thu, Oct 10, 2013 at 03:35:21AM +0100, Chen Gang wrote: In current kernel wide source, for arm64, only s390 scsi drivers use atomic_clear_mask(), now, s390 itself need use 'unsigned int'

Re: [PATCH 3/3] arm64: include: asm: atomic.h: use 'unsigned int' and 'atomic_t' instead of 'unsigned long' for atomic_clear_mask()

2013-10-10 Thread Chen Gang
On 10/10/2013 10:23 PM, Will Deacon wrote: On Thu, Oct 10, 2013 at 12:03:52PM +0100, Chen Gang wrote: On 10/10/2013 06:07 PM, Will Deacon wrote: On Thu, Oct 10, 2013 at 03:35:21AM +0100, Chen Gang wrote: In current kernel wide source, for arm64, only s390 scsi drivers use atomic_clear_mask(),

[PATCH 3/3] arm64: include: asm: atomic.h: use 'unsigned int' and 'atomic_t' instead of 'unsigned long' for atomic_clear_mask()

2013-10-09 Thread Chen Gang
In current kernel wide source, for arm64, only s390 scsi drivers use atomic_clear_mask(), now, s390 itself need use 'unsigned int' and 'atomic_t', so need match s390's atomic_clear_mask(). Signed-off-by: Chen Gang --- arch/arm64/include/asm/atomic.h | 13 +++-- 1 files changed, 7

[PATCH 3/3] arm64: include: asm: atomic.h: use 'unsigned int' and 'atomic_t' instead of 'unsigned long' for atomic_clear_mask()

2013-10-09 Thread Chen Gang
In current kernel wide source, for arm64, only s390 scsi drivers use atomic_clear_mask(), now, s390 itself need use 'unsigned int' and 'atomic_t', so need match s390's atomic_clear_mask(). Signed-off-by: Chen Gang gang.c...@asianux.com --- arch/arm64/include/asm/atomic.h | 13 +++-- 1