Messages in this thread | | | Date | Wed, 15 Sep 2004 14:29:22 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH][5/6]ELF format dump file access |
| |
Hariprasad Nellitheertha <hari@in.ibm.com> wrote: > > +#ifdef CONFIG_CRASH_DUMP > + if (dump_enabled) { > + proc_vmcore = create_proc_entry("vmcore", S_IRUSR, NULL); > + if (proc_vmcore) { > + proc_vmcore->proc_fops = &proc_vmcore_operations; > + proc_vmcore->size = > + (size_t)(saved_max_pfn << PAGE_SHIFT); > + } > + } > +#endif
Again, please try to move this out of procfs and into a crashdump-specific file. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |