summaryrefslogtreecommitdiffstats
path: root/arch/x86/um/shared/sysdep/kernel-offsets.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/um/shared/sysdep/kernel-offsets.h')
-rw-r--r--arch/x86/um/shared/sysdep/kernel-offsets.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/um/shared/sysdep/kernel-offsets.h b/arch/x86/um/shared/sysdep/kernel-offsets.h
new file mode 100644
index 000000000..a004bffb7
--- /dev/null
+++ b/arch/x86/um/shared/sysdep/kernel-offsets.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <linux/stddef.h>
+#include <linux/sched.h>
+#include <linux/elf.h>
+#include <linux/crypto.h>
+#include <linux/kbuild.h>
+#include <asm/mman.h>
+
+void foo(void)
+{
+#include <common-offsets.h>
+}