diff options
Diffstat (limited to 'include/linux/crash_dump.h')
-rw-r--r-- | include/linux/crash_dump.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/crash_dump.h b/include/linux/crash_dump.h new file mode 100644 index 000000000000..534d750d922d --- /dev/null +++ b/include/linux/crash_dump.h | |||
@@ -0,0 +1,18 @@ | |||
1 | #ifndef LINUX_CRASH_DUMP_H | ||
2 | #define LINUX_CRASH_DUMP_H | ||
3 | |||
4 | #ifdef CONFIG_CRASH_DUMP | ||
5 | #include <linux/kexec.h> | ||
6 | #include <linux/smp_lock.h> | ||
7 | #include <linux/device.h> | ||
8 | #include <linux/proc_fs.h> | ||
9 | |||
10 | #define ELFCORE_ADDR_MAX (-1ULL) | ||
11 | extern unsigned long long elfcorehdr_addr; | ||
12 | extern ssize_t copy_oldmem_page(unsigned long, char *, size_t, | ||
13 | unsigned long, int); | ||
14 | extern struct file_operations proc_vmcore_operations; | ||
15 | extern struct proc_dir_entry *proc_vmcore; | ||
16 | |||
17 | #endif /* CONFIG_CRASH_DUMP */ | ||
18 | #endif /* LINUX_CRASHDUMP_H */ | ||