From: Ivan Kokshaysky Date: Tue, 31 Mar 2009 22:23:35 +0000 (-0700) Subject: alpha: xchg/cmpxchg cleanup and fixes X-Git-Tag: v2.6.30-rc1~549 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6209d6d71f2ab8c63cc1587ef65490d83022baf;p=pandora-kernel.git alpha: xchg/cmpxchg cleanup and fixes - "_local" versions of xchg/cmpxchg functions duplicate code of non-local ones (quite a few pages of assembler), except memory barriers. We can generate these two variants from a single header file using simple macros; - convert xchg macro back to inline function using always_inline attribute; - use proper argument types for cmpxchg_u8/u16 functions to fix a problem with negative arguments. Signed-off-by: Ivan Kokshaysky Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed