summaryrefslogtreecommitdiffstats
path: root/tools/arch/sparc/include/asm/barrier.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/arch/sparc/include/asm/barrier.h')
-rw-r--r--tools/arch/sparc/include/asm/barrier.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/arch/sparc/include/asm/barrier.h b/tools/arch/sparc/include/asm/barrier.h
new file mode 100644
index 000000000..95d161846
--- /dev/null
+++ b/tools/arch/sparc/include/asm/barrier.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef ___TOOLS_LINUX_ASM_SPARC_BARRIER_H
+#define ___TOOLS_LINUX_ASM_SPARC_BARRIER_H
+#if defined(__sparc__) && defined(__arch64__)
+#include "barrier_64.h"
+#else
+#include "barrier_32.h"
+#endif
+#endif