summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/include/asm/vdso/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/include/asm/vdso/processor.h')
-rw-r--r--arch/loongarch/include/asm/vdso/processor.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/loongarch/include/asm/vdso/processor.h b/arch/loongarch/include/asm/vdso/processor.h
new file mode 100644
index 000000000..ef5770b34
--- /dev/null
+++ b/arch/loongarch/include/asm/vdso/processor.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
+ */
+#ifndef __ASM_VDSO_PROCESSOR_H
+#define __ASM_VDSO_PROCESSOR_H
+
+#ifndef __ASSEMBLY__
+
+#define cpu_relax() barrier()
+
+#endif /* __ASSEMBLY__ */
+
+#endif /* __ASM_VDSO_PROCESSOR_H */