locking/atomic/x86: Switch atomic.h to use atomic-instrumented.h
authorDmitry Vyukov <dvyukov@google.com>
Mon, 29 Jan 2018 17:26:05 +0000 (18:26 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 12 Mar 2018 11:15:35 +0000 (12:15 +0100)
commit8bf705d130396e69c04cd8e6e010244ad2ce71f4
treeac1f889dffab660dd9f3a20a9c64af37a28b9ea7
parentb06ed71a624ba088a3e3e3ac7d4185f48c7c1660
locking/atomic/x86: Switch atomic.h to use atomic-instrumented.h

Add arch_ prefix to all atomic operations and include
<asm-generic/atomic-instrumented.h>. This will allow
to add KASAN instrumentation to all atomic ops.

Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Cc: kasan-dev@googlegroups.com
Cc: linux-mm@kvack.org
Link: http://lkml.kernel.org/r/54f0eb64260b84199e538652e079a89b5423ad41.1517246437.git.dvyukov@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/atomic.h
arch/x86/include/asm/atomic64_32.h
arch/x86/include/asm/atomic64_64.h
arch/x86/include/asm/cmpxchg.h
arch/x86/include/asm/cmpxchg_32.h
arch/x86/include/asm/cmpxchg_64.h