We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e8f54c commit db79e02Copy full SHA for db79e02
arch/microblaze/include/asm/Kbuild
@@ -1,6 +1,5 @@
1
# SPDX-License-Identifier: GPL-2.0
2
generated-y += syscall_table.h
3
-generic-y += barrier.h
4
generic-y += bitops.h
5
generic-y += bug.h
6
generic-y += bugs.h
arch/microblaze/include/asm/barrier.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved.
+ */
+
+#ifndef _ASM_MICROBLAZE_BARRIER_H
7
+#define _ASM_MICROBLAZE_BARRIER_H
8
9
+#define mb() __asm__ __volatile__ ("mbar 1" : : : "memory")
10
11
+#include <asm-generic/barrier.h>
12
13
+#endif /* _ASM_MICROBLAZE_BARRIER_H */
0 commit comments