diff options
author | Andrew Morton <akpm@osdl.org> | 2006-03-31 14:30:49 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-01 00:18:55 +0400 |
commit | 2cf8d82d63807c2c68adf20bb28bf502496186dd (patch) | |
tree | 13cafaa87dafa639f3876bcda6d302266a349c88 /include/asm-generic/errno.h | |
parent | 09ce3512dcad0ad1d07eee0dc5ebb6d037c39c16 (diff) | |
download | linux-2cf8d82d63807c2c68adf20bb28bf502496186dd.tar.xz |
[PATCH] make local_t signed
local_t's were defined to be unsigned. This increases confusion because
atomic_t's are signed. The patch goes through and changes all implementations
to use signed longs throughout.
Also, x86-64 was using 32-bit quantities for the value passed into local_add()
and local_sub(). Fixed.
All (actually, both) existing users have been audited.
(Also s/__inline__/inline/ in x86_64/local.h)
Cc: Andi Kleen <ak@muc.de>
Cc: Benjamin LaHaise <bcrl@kvack.org>
Cc: Kyle McMartin <kyle@parisc-linux.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-generic/errno.h')
0 files changed, 0 insertions, 0 deletions