[PATCH] powerpc: remote save_stack_trace_tsk_reliable export

Singh, Balbir bsingharora at gmail.com
Mon Mar 4 07:05:02 AEDT 2019



On 3/1/19 11:17 AM, Joe Lawrence wrote:
> As tglx points out, there are no in-tree module users of
> save_stack_trace_tsk_reliable() and its x86 counterpart is not exported,
> so remove the powerpc symbol export.
> 
> Suggested-by: Thomas Gleixner <tglx at linutronix.de>
> Signed-off-by: Joe Lawrence <joe.lawrence at redhat.com>
> ---
>  arch/powerpc/kernel/stacktrace.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/powerpc/kernel/stacktrace.c b/arch/powerpc/kernel/stacktrace.c
> index e2c50b55138f..42c587de21a9 100644
> --- a/arch/powerpc/kernel/stacktrace.c
> +++ b/arch/powerpc/kernel/stacktrace.c
> @@ -193,7 +193,6 @@ save_stack_trace_tsk_reliable(struct task_struct *tsk,
>  	}
>  	return 0;
>  }
> -EXPORT_SYMBOL_GPL(save_stack_trace_tsk_reliable);
>  #endif /* CONFIG_HAVE_RELIABLE_STACKTRACE */
>  
>  #if defined(CONFIG_PPC_BOOK3S_64) && defined(CONFIG_NMI_IPI)
> 


Acked-by: Balbir Singh <bsingharora at gmail.com>

Balbir Singh


More information about the Linuxppc-dev mailing list