summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/cmpxchg.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/include/asm/cmpxchg.h')
-rw-r--r--arch/microblaze/include/asm/cmpxchg.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/cmpxchg.h b/arch/microblaze/include/asm/cmpxchg.h
new file mode 100644
index 000000000..3523b51aa
--- /dev/null
+++ b/arch/microblaze/include/asm/cmpxchg.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _ASM_MICROBLAZE_CMPXCHG_H
+#define _ASM_MICROBLAZE_CMPXCHG_H
+
+#ifndef CONFIG_SMP
+# include <asm-generic/cmpxchg.h>
+#endif
+
+#endif /* _ASM_MICROBLAZE_CMPXCHG_H */