xref: /linux/arch/sparc/include/asm/cmpxchg.h (revision 3d0fe49454652117522f60bfbefb978ba0e5300b)
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