[tip: x86/nmi] x86/nmi: Remove export of local_touch_nmi()

From: tip-bot2 for Sohil Mehta
Date: Thu Apr 03 2025 - 09:36:01 EST


The following commit has been merged into the x86/nmi branch of tip:

Commit-ID: 6325f947014644ff39e5902afa48238af8f92e0e
Gitweb: https://git.kernel.org/tip/6325f947014644ff39e5902afa48238af8f92e0e
Author: Sohil Mehta <sohil.mehta@xxxxxxxxx>
AuthorDate: Thu, 27 Mar 2025 23:46:24
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Tue, 01 Apr 2025 22:26:06 +02:00

x86/nmi: Remove export of local_touch_nmi()

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>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Reviewed-by: Kai Huang <kai.huang@xxxxxxxxx>
Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Reviewed-by: Nikolay Borisov <nik.borisov@xxxxxxxx>
Link: https://lore.kernel.org/r/20250327234629.3953536-5-sohil.mehta@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 6a5dc35..cdfb386 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);