Re: [PATCH 4/9] x86/nmi: Remove export of local_touch_nmi()
From: Huang, Kai
Date: Mon Mar 31 2025 - 19:48:18 EST
On Thu, 2025-03-27 at 23:46 +0000, Mehta, Sohil wrote:
> Commit feb6cd6a0f9f ("thermal/intel_powerclamp: stop sched tick in
> forced idle")
>
> got rid of the last exported user of local_touch_nmi() a while back.
>
> Remove the unnecessary export.
>
> Signed-off-by: Sohil Mehta <sohil.mehta@xxxxxxxxx>
Reviewed-by: Kai Huang <kai.huang@xxxxxxxxx>
> ---
> arch/x86/kernel/nmi.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/kernel/nmi.c b/arch/x86/kernel/nmi.c
> index 6a5dc35522c8..cdfb3864d59a 100644
> --- a/arch/x86/kernel/nmi.c
> +++ b/arch/x86/kernel/nmi.c
> @@ -745,4 +745,3 @@ void local_touch_nmi(void)
> {
> __this_cpu_write(last_nmi_rip, 0);
> }
> -EXPORT_SYMBOL_GPL(local_touch_nmi);