aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2017-03-19 21:02:22 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2017-03-28 15:50:45 +1100
commit3b2ea36f97dc095c1d5a12ee8025e0c464266a16 (patch)
treef918f3fe4d746a352c684c72f80fe8bda7fbf830
parent1a2adf6665d37a37872b7cee3a484fe353f34eab (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.h2
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