From: Chen Gang Date: Wed, 25 Sep 2013 04:14:08 +0000 (+0800) Subject: tile: include: asm: use 'long long' instead of 'u64' for atomic64_t and its related... X-Git-Tag: v3.12-rc5~27^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b924a69067b00d3121debae5a738fb0bcbbbb03c;p=pandora-kernel.git tile: include: asm: use 'long long' instead of 'u64' for atomic64_t and its related functions 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/\/long long/g" command. remove redundant '__aligned(8)'. be sure of 80 (and macro '\') columns limitation after replacement. Signed-off-by: Chen Gang Signed-off-by: Chris Metcalf [re-instated const cast] --- Reading git-diff-tree failed