android_kernel_xiaomi_sm8450/arch/arm/include
Chen Gang 237f12337c ARM: 7866/1: include: asm: use 'long long' instead of 'u64' within atomic.h
atomic* value is signed value, and atomic* functions need also process
signed value (parameter value, and return value), so 32-bit arm need
use 'long long' instead of 'u64'.

After replacement, it will also fix a bug for atomic64_add_negative():
"u64 is never less than 0".

The modifications are:

  in vim, use "1,% s/\<u64\>/long long/g" command.
  remove '__aligned(8)' which is useless for 64-bit.
  be sure of 80 column limitation after replacement.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2013-11-09 00:00:10 +00:00
..
asm ARM: 7866/1: include: asm: use 'long long' instead of 'u64' within atomic.h 2013-11-09 00:00:10 +00:00
debug ARM: 7860/1: debug: msm: Add DEBUG_LL support for ARCH_MSM8974 2013-10-29 11:06:21 +00:00
uapi/asm ARM: 7791/1: a.out: remove partial a.out support 2013-07-26 12:02:10 +01:00