diff options
| author | Anton Altaparmakov <aia21@cantab.net> | 2005-06-26 22:19:40 +0100 | 
|---|---|---|
| committer | Anton Altaparmakov <aia21@cantab.net> | 2005-06-26 22:19:40 +0100 | 
| commit | 2a322e4c08be4e7cb0c04b427ddaaa679fd88863 (patch) | |
| tree | ad8cc17bfd3b5e57e36f07a249028667d72f0b96 /fs/proc/proc_misc.c | |
| parent | ba6d2377c85c9b8a793f455d8c9b6cf31985d70f (diff) | |
| parent | 8678887e7fb43cd6c9be6c9807b05e77848e0920 (diff) | |
Automatic merge with /usr/src/ntfs-2.6.git.
Diffstat (limited to 'fs/proc/proc_misc.c')
| -rw-r--r-- | fs/proc/proc_misc.c | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c index 94b570ad037d..a3453555a94e 100644 --- a/fs/proc/proc_misc.c +++ b/fs/proc/proc_misc.c @@ -44,6 +44,7 @@  #include <linux/jiffies.h>  #include <linux/sysrq.h>  #include <linux/vmalloc.h> +#include <linux/crash_dump.h>  #include <asm/uaccess.h>  #include <asm/pgtable.h>  #include <asm/io.h> @@ -618,6 +619,11 @@ void __init proc_misc_init(void)  				(size_t)high_memory - PAGE_OFFSET + PAGE_SIZE;  	}  #endif +#ifdef CONFIG_PROC_VMCORE +	proc_vmcore = create_proc_entry("vmcore", S_IRUSR, NULL); +	if (proc_vmcore) +		proc_vmcore->proc_fops = &proc_vmcore_operations; +#endif  #ifdef CONFIG_MAGIC_SYSRQ  	entry = create_proc_entry("sysrq-trigger", S_IWUSR, NULL);  	if (entry) | 
