mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 17:36:43 +07:00
b924a69067
atomic* value is signed value, and atomic* functions need also process signed value (parameter value, and return value), so 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 redundant '__aligned(8)'. be sure of 80 (and macro '\') columns limitation after replacement. Signed-off-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> [re-instated const cast] |
||
---|---|---|
.. | ||
atomic_32.c | ||
atomic_asm_32.S | ||
cacheflush.c | ||
checksum.c | ||
cpumask.c | ||
delay.c | ||
exports.c | ||
Makefile | ||
memchr_32.c | ||
memchr_64.c | ||
memcpy_32.S | ||
memcpy_64.c | ||
memcpy_user_64.c | ||
memmove.c | ||
memset_32.c | ||
memset_64.c | ||
spinlock_32.c | ||
spinlock_64.c | ||
spinlock_common.h | ||
strchr_32.c | ||
strchr_64.c | ||
string-endian.h | ||
strlen_32.c | ||
strlen_64.c | ||
strnlen_32.c | ||
strnlen_64.c | ||
uaccess.c | ||
usercopy_32.S | ||
usercopy_64.S |