From: Qiaowei Ren Date: Sat, 14 Dec 2013 06:25:03 +0000 (+0800) Subject: x86: replace futex_atomic_cmpxchg_inatomic() with user_atomic_cmpxchg_inatomic X-Git-Tag: v3.14-rc1~155^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ee3b6f87d4d748d5362cb47ff33fa1553805cb4;p=pandora-kernel.git x86: replace futex_atomic_cmpxchg_inatomic() with user_atomic_cmpxchg_inatomic futex_atomic_cmpxchg_inatomic() is simply the 32-bit implementation of user_atomic_cmpxchg_inatomic(), which in turn is simply a generalization of the original code in futex_atomic_cmpxchg_inatomic(). Use the newly generalized user_atomic_cmpxchg_inatomic() as the futex implementation, too. [ hpa: retain the inline in futex.h rather than changing it to a macro ] Signed-off-by: Qiaowei Ren Link: http://lkml.kernel.org/r/1387002303-6620-2-git-send-email-qiaowei.ren@intel.com Signed-off-by: H. Peter Anvin Cc: Peter Zijlstra --- Reading git-diff-tree failed