asm-generic/atomic.h: add atomic_set_mask() helper
authorMike Frysinger <vapier@gentoo.org>
Tue, 26 Jul 2011 23:09:10 +0000 (16:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 23:49:48 +0000 (16:49 -0700)
commit00b3c28bd753afb46fb26b2f9e21dd27dacd80d4
tree461b90948bd8dbd31a1752071c9d0a5cc1412185
parentf6081bd3f8152cdd3d857f55631bbb4b72182b82
asm-generic/atomic.h: add atomic_set_mask() helper

Since arches are expected to implement this guy, add a common version for
people the same way as atomic_clear_mask is handled.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Arun Sharma <asharma@fb.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/atomic.h