summaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/cmpxchg.h
blob: b7955c6b91fc4e85ba345de40dbc3224b54e024d (plain) (blame)
1
2
3
4
5
6
7
8
9
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef ___ASM_SPARC_CMPXCHG_H
#define ___ASM_SPARC_CMPXCHG_H
#if defined(__sparc__) && defined(__arch64__)
#include <asm/cmpxchg_64.h>
#else
#include <asm/cmpxchg_32.h>
#endif
#endif