Re: [PATCH] crash_dump: export is_kdump_kernel to modules,consolidate elfcorehdr_addr, setup_elfcorehdr and saved_max_pfn
From: Andrew Morton
Date: Thu Jan 27 2011 - 17:50:26 EST
On Thu, 27 Jan 2011 11:57:51 +0100
Olaf Hering <olaf@xxxxxxxxx> wrote:
> > Apart from that, moving the code from arch specific section to generic
> > code helps. So that bit you can retain and get rid of export of
> > is_kdump_kernel() and elfcorehdr_addr.
>
>
> Andrew, do you want a new patch with the export of elfcorehdr_addr
> removed, or can you edit my patch and remove that one line?
This?
--- a/kernel/crash_dump.c~crash_dump-export-is_kdump_kernel-to-modules-consolidate-elfcorehdr_addr-setup_elfcorehdr-and-saved_max_pfn-fix-fix
+++ a/kernel/crash_dump.c
@@ -18,7 +18,6 @@ unsigned long saved_max_pfn;
* it under CONFIG_CRASH_DUMP and not CONFIG_PROC_VMCORE.
*/
unsigned long long elfcorehdr_addr = ELFCORE_ADDR_MAX;
-EXPORT_SYMBOL_GPL(elfcorehdr_addr);
/*
* elfcorehdr= specifies the location of elf core header stored by the crashed
_
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/