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

From: Gabriel L. Somlo
Date: Sun Nov 12 2017 - 07:57:59 EST


On Tue, Oct 31, 2017 at 04:19:37PM +0100, Marc-André Lureau wrote:
> The following patch is going to use the symbol from the fw_cfg module.
>
> Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>

Acked-by: Gabriel Somlo <somlo@xxxxxxx>

> ---
> 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.rc0.40.gaefcc5f6f
>