summaryrefslogtreecommitdiff
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/um/shared/sysdep/kernel-offsets.h b/arch/x86/um/shared/sysdep/kernel-offsets.h
index 6fd1ed400399..8215a0200ddd 100644
--- a/arch/x86/um/shared/sysdep/kernel-offsets.h
+++ b/arch/x86/um/shared/sysdep/kernel-offsets.h
@@ -1,4 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0 */
+#define COMPILE_OFFSETS
#include <linux/stddef.h>
#include <linux/sched.h>
#include <linux/elf.h>
@@ -7,6 +8,7 @@
#include <linux/audit.h>
#include <asm/mman.h>
#include <asm/seccomp.h>
+#include <asm/extable.h>
/* workaround for a warning with -Wmissing-prototypes */
void foo(void);