diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2017-03-19 21:02:22 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-03-28 15:50:45 +1100 |
commit | 3b2ea36f97dc095c1d5a12ee8025e0c464266a16 (patch) | |
tree | f918f3fe4d746a352c684c72f80fe8bda7fbf830 | |
parent | 1a2adf6665d37a37872b7cee3a484fe353f34eab (diff) |
x86-atomic-move-__atomic_add_unless-out-of-line-fix
fix rejects fix
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | arch/x86/include/asm/atomic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/atomic.h b/arch/x86/include/asm/atomic.h index cfcc2f24b619..25b6c9adc01c 100644 --- a/arch/x86/include/asm/atomic.h +++ b/arch/x86/include/asm/atomic.h @@ -237,6 +237,8 @@ ATOMIC_OPS(xor, ^) #undef ATOMIC_FETCH_OP #undef ATOMIC_OP +int __arch_atomic_add_unless(atomic_t *v, int a, int u); + /** * arch_atomic_inc_short - increment of a short integer * @v: pointer to type int |