aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-05-24 19:14:25 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-09-30 16:46:02 +0200
commite912aaf105bfcbdcb3a3c2cc292c9f1f2606a356 (patch)
tree82a552d47b1966f5719c135f94588552e29788c9
parentmm: oom_kill: task_uid is a direct uid_t (diff)
downloadrhel7-kernel-misery-e912aaf105bfcbdcb3a3c2cc292c9f1f2606a356.tar.xz
rhel7-kernel-misery-e912aaf105bfcbdcb3a3c2cc292c9f1f2606a356.zip
crash_dump: always include UAPI header
The uapi header has important constants, regardless of whether or not CONFIG_CRASH_DUMP is enabled, so always include it. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--include/linux/crash_dump.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/crash_dump.h b/include/linux/crash_dump.h
index ade593b819d..a313492bf2e 100644
--- a/include/linux/crash_dump.h
+++ b/include/linux/crash_dump.h
@@ -1,11 +1,11 @@
#ifndef LINUX_CRASH_DUMP_H
#define LINUX_CRASH_DUMP_H
+#include <uapi/linux/vmcore.h>
#ifdef CONFIG_CRASH_DUMP
#include <linux/kexec.h>
#include <linux/proc_fs.h>
#include <linux/elf.h>
-#include <uapi/linux/vmcore.h>
#define ELFCORE_ADDR_MAX (-1ULL)
#define ELFCORE_ADDR_ERR (-2ULL)