lkml.org 
[lkml]   [2004]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:06    [from the cache]
©2003-2011 Jasper Spaans