From: Peter Zijlstra Date: Thu, 23 Apr 2015 23:12:32 +0000 (+0200) Subject: atomic: Collapse all atomic_{set,clear}_mask definitions X-Git-Tag: omap-for-v4.3/fixes-rc1~104^2~10^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de9e432cb5de1bf2952919dc0b22e4bec0ed8d53;p=pandora-kernel.git atomic: Collapse all atomic_{set,clear}_mask definitions Move the now generic definitions of atomic_{set,clear}_mask() into linux/atomic.h to avoid endless and pointless repetition. Also, provide an atomic_andnot() wrapper for those few archs that can implement that. Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed