For atomic_*_mask(), the 'atomic_t' is 32-bit, so for the 'mask', also need mach it. Patch 1/3: s390: include: asm: atomic.h: use 'unsigned int' instead of 'unsigned long' for atomic_*_mask(). Patch 2/3: arm: include: asm: atomic.h: use 'unsigned int' and 'atomic' instead of 'unsigned long' for 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(). Signed-off-by: Chen Gang <gang.chen@xxxxxxxxxxx> --- arch/arm/include/asm/atomic.h | 13 +++++++------ arch/arm64/include/asm/atomic.h | 13 +++++++------ arch/s390/include/asm/atomic.h | 4 ++-- 3 files changed, 16 insertions(+), 14 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-s390" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html