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.h8
1 files changed, 8 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 000000000000..8c017b3b1391
--- /dev/null
+++ b/tools/arch/sparc/include/asm/barrier.h
@@ -0,0 +1,8 @@
+#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