diff options
-rw-r--r-- | arch/x86/kernel/asm-offsets_32.c | 4 | ||||
-rw-r--r-- | arch/x86/kernel/asm-offsets_64.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/kernel/asm-offsets_32.c b/arch/x86/kernel/asm-offsets_32.c index d67c4be3e8b1..3b3b9d33ac1d 100644 --- a/arch/x86/kernel/asm-offsets_32.c +++ b/arch/x86/kernel/asm-offsets_32.c | |||
@@ -1,3 +1,7 @@ | |||
1 | #ifndef __LINUX_KBUILD_H | ||
2 | # error "Please do not build this file directly, build asm-offsets.c instead" | ||
3 | #endif | ||
4 | |||
1 | #include <asm/ucontext.h> | 5 | #include <asm/ucontext.h> |
2 | 6 | ||
3 | #include <linux/lguest.h> | 7 | #include <linux/lguest.h> |
diff --git a/arch/x86/kernel/asm-offsets_64.c b/arch/x86/kernel/asm-offsets_64.c index e7c798b354fa..4c0c596dfb95 100644 --- a/arch/x86/kernel/asm-offsets_64.c +++ b/arch/x86/kernel/asm-offsets_64.c | |||
@@ -1,3 +1,7 @@ | |||
1 | #ifndef __LINUX_KBUILD_H | ||
2 | # error "Please do not build this file directly, build asm-offsets.c instead" | ||
3 | #endif | ||
4 | |||
1 | #include <asm/ia32.h> | 5 | #include <asm/ia32.h> |
2 | 6 | ||
3 | #define __SYSCALL_64(nr, sym, compat) [nr] = 1, | 7 | #define __SYSCALL_64(nr, sym, compat) [nr] = 1, |