[PATCH v6 4/5] crash: export paddr_vmcoreinfo_note()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/13/17 at 08:29pm, Marc-Andr? Lureau wrote:
> The following patch is going to use the symbol from the fw_cfg module,
> to call the function and write the note location details in the
> vmcoreinfo entry, so qemu can produce dumps with the vmcoreinfo note.
> 
> CC: Andrew Morton <akpm at linux-foundation.org>
> CC: Baoquan He <bhe at redhat.com>
> CC: Dave Young <dyoung at redhat.com>
> CC: Dave Young <dyoung at redhat.com>
> CC: Hari Bathini <hbathini at linux.vnet.ibm.com>
> CC: Tony Luck <tony.luck at intel.com>
> CC: Vivek Goyal <vgoyal at redhat.com>
> Signed-off-by: Marc-Andr? Lureau <marcandre.lureau at redhat.com>
> Acked-by: Gabriel Somlo <somlo at cmu.edu>
> ---
>  kernel/crash_core.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/kernel/crash_core.c b/kernel/crash_core.c
> index 6db80fc0810b..47541c891810 100644
> --- a/kernel/crash_core.c
> +++ b/kernel/crash_core.c
> @@ -375,6 +375,7 @@ phys_addr_t __weak paddr_vmcoreinfo_note(void)
>  {
>  	return __pa(vmcoreinfo_note);
>  }
> +EXPORT_SYMBOL(paddr_vmcoreinfo_note);
>  
>  static int __init crash_save_vmcoreinfo_init(void)
>  {
> -- 
> 2.15.0.125.g8f49766d64
> 

Acked-by: Dave Young <dyoung at redhat.com>

Thanks
Dave



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux