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