Vivek Goyal | 60e64d4 | 2005-06-25 14:58:19 -0700 | [diff] [blame] | 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 | |
Vivek Goyal | 666bfdd | 2005-06-25 14:58:21 -0700 | [diff] [blame] | 10 | #define ELFCORE_ADDR_MAX (-1ULL) |
Vivek Goyal | 2030eae | 2005-06-25 14:58:20 -0700 | [diff] [blame] | 11 | extern unsigned long long elfcorehdr_addr; |
Vivek Goyal | 60e64d4 | 2005-06-25 14:58:19 -0700 | [diff] [blame] | 12 | extern ssize_t copy_oldmem_page(unsigned long, char *, size_t, |
| 13 | unsigned long, int); |
Arjan van de Ven | 4b6f5d2 | 2006-03-28 01:56:42 -0800 | [diff] [blame^] | 14 | extern const struct file_operations proc_vmcore_operations; |
Vivek Goyal | 666bfdd | 2005-06-25 14:58:21 -0700 | [diff] [blame] | 15 | extern struct proc_dir_entry *proc_vmcore; |
| 16 | |
Vivek Goyal | 60e64d4 | 2005-06-25 14:58:19 -0700 | [diff] [blame] | 17 | #endif /* CONFIG_CRASH_DUMP */ |
| 18 | #endif /* LINUX_CRASHDUMP_H */ |