summaryrefslogtreecommitdiff
path: root/arch/loongarch/include/asm/vdso/vdso.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/include/asm/vdso/vdso.h')
-rw-r--r--arch/loongarch/include/asm/vdso/vdso.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/loongarch/include/asm/vdso/vdso.h b/arch/loongarch/include/asm/vdso/vdso.h
new file mode 100644
index 000000000000..04bd2d452876
--- /dev/null
+++ b/arch/loongarch/include/asm/vdso/vdso.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * Author: Huacai Chen <chenhuacai@loongson.cn>
+ * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
+ */
+
+#ifndef _ASM_VDSO_VDSO_H
+#define _ASM_VDSO_VDSO_H
+
+#ifndef __ASSEMBLER__
+
+#include <asm/asm.h>
+#include <asm/page.h>
+#include <asm/vdso.h>
+#include <vdso/datapage.h>
+
+#define VVAR_SIZE (VDSO_NR_PAGES << PAGE_SHIFT)
+
+#endif /* __ASSEMBLER__ */
+
+#endif