blob: 534d750d922dee89c645f10d93166c3065db85c0 [file] [log] [blame]
Vivek Goyal60e64d42005-06-25 14:58:19 -07001#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 Goyal666bfdd2005-06-25 14:58:21 -070010#define ELFCORE_ADDR_MAX (-1ULL)
Vivek Goyal2030eae2005-06-25 14:58:20 -070011extern unsigned long long elfcorehdr_addr;
Vivek Goyal60e64d42005-06-25 14:58:19 -070012extern ssize_t copy_oldmem_page(unsigned long, char *, size_t,
13 unsigned long, int);
Vivek Goyal666bfdd2005-06-25 14:58:21 -070014extern struct file_operations proc_vmcore_operations;
15extern struct proc_dir_entry *proc_vmcore;
16
Vivek Goyal60e64d42005-06-25 14:58:19 -070017#endif /* CONFIG_CRASH_DUMP */
18#endif /* LINUX_CRASHDUMP_H */