xref: /openbmc/linux/arch/sparc/include/asm/cmpxchg.h (revision e3d786a3)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ___ASM_SPARC_CMPXCHG_H
3 #define ___ASM_SPARC_CMPXCHG_H
4 #if defined(__sparc__) && defined(__arch64__)
5 #include <asm/cmpxchg_64.h>
6 #else
7 #include <asm/cmpxchg_32.h>
8 #endif
9 #endif
10