From: Mathieu Desnoyers Date: Thu, 7 Feb 2008 08:16:13 +0000 (-0800) Subject: Add cmpxchg_local to blackfin, replace __cmpxchg by generic cmpxchg X-Git-Tag: v2.6.25-rc1~345 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10b8827068377a11ed0e396248f7d02751fe5f17;p=pandora-kernel.git Add cmpxchg_local to blackfin, replace __cmpxchg by generic cmpxchg Use the new generic cmpxchg_local (disables interrupt). Also use the generic cmpxchg as fallback if SMP is not set since nobody seems to know why __cmpxchg has been implemented in assembly in the first place thather than in plain C. Signed-off-by: Mathieu Desnoyers Cc: Bryan Wu Cc: Michael Frysinger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed