[PATCH 4/9] x86/nmi: Remove export of local_touch_nmi()

Sohil Mehta posted 9 patches 8 months, 3 weeks ago
[PATCH 4/9] x86/nmi: Remove export of local_touch_nmi()
Posted by Sohil Mehta 8 months, 3 weeks ago
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@intel.com>
---
 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);
-- 
2.43.0
Re: [PATCH 4/9] x86/nmi: Remove export of local_touch_nmi()
Posted by Huang, Kai 8 months, 2 weeks ago
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@intel.com>

Reviewed-by: Kai Huang <kai.huang@intel.com>

> ---
>  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);

[tip: x86/nmi] x86/nmi: Remove export of local_touch_nmi()
Posted by tip-bot2 for Sohil Mehta 8 months, 2 weeks ago
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@intel.com>
AuthorDate:    Thu, 27 Mar 2025 23:46:24 
Committer:     Ingo Molnar <mingo@kernel.org>
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@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Kai Huang <kai.huang@intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Link: https://lore.kernel.org/r/20250327234629.3953536-5-sohil.mehta@intel.com
---
 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);