summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/vdso32.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/vdso32.h')
-rw-r--r--arch/x86/include/asm/vdso32.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86/include/asm/vdso32.h b/arch/x86/include/asm/vdso32.h
new file mode 100644
index 000000000000..7efb7018406e
--- /dev/null
+++ b/arch/x86/include/asm/vdso32.h
@@ -0,0 +1,11 @@
+#ifndef _ASM_X86_VDSO32_H
+#define _ASM_X86_VDSO32_H
+
+#define VDSO_BASE_PAGE 0
+#define VDSO_VVAR_PAGE 1
+#define VDSO_HPET_PAGE 2
+#define VDSO_PAGES 3
+#define VDSO_PREV_PAGES 2
+#define VDSO_OFFSET(x) ((x) * PAGE_SIZE)
+
+#endif