arm64: atomics: Undefine internal macros after use
authorWill Deacon <will@kernel.org>
Thu, 29 Aug 2019 13:33:23 +0000 (14:33 +0100)
committerWill Deacon <will@kernel.org>
Fri, 30 Aug 2019 10:18:37 +0000 (11:18 +0100)
commit5aad6cdabbf91fd330bd216fe3c93d90f78bc7e7
tree059fe136b852abbacb2121935c91c1f70033c77d
parentb32baf91f60fb9c7010bff87e68132f2ce31d9a8
arm64: atomics: Undefine internal macros after use

We use a bunch of internal macros when constructing our atomic and
cmpxchg routines in order to save on boilerplate. Avoid exposing these
directly to users of the header files.

Reviewed-by: Andrew Murray <andrew.murray@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/atomic.h
arch/arm64/include/asm/cmpxchg.h