mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] x86/apic: Remove unused inline function apic_set_eoi_cb()
@ 2024-08-03 11:37 Yue Haibing
  2024-08-07 16:25 ` [tip: x86/apic] " tip-bot2 for Yue Haibing
  0 siblings, 1 reply; 2+ messages in thread
From: Yue Haibing @ 2024-08-03 11:37 UTC (permalink / raw)
  To: tglx, mingo, bp, dave.hansen, x86, hpa, peterz; +Cc: linux-kernel, yuehaibing

Commit 2744a7ce34a7 ("x86/apic: Replace acpi_wake_cpu_handler_update() and
apic_set_eoi_cb()") leave it unused.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 arch/x86/include/asm/apic.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
index 9327eb00e96d..cf45af56d22a 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -484,7 +484,6 @@ static inline u64 apic_icr_read(void) { return 0; }
 static inline void apic_icr_write(u32 low, u32 high) { }
 static inline void apic_wait_icr_idle(void) { }
 static inline u32 safe_apic_wait_icr_idle(void) { return 0; }
-static inline void apic_set_eoi_cb(void (*eoi)(void)) {}
 static inline void apic_native_eoi(void) { WARN_ON_ONCE(1); }
 static inline void apic_setup_apic_calls(void) { }
 
-- 
2.34.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip: x86/apic] x86/apic: Remove unused inline function apic_set_eoi_cb()
  2024-08-03 11:37 [PATCH -next] x86/apic: Remove unused inline function apic_set_eoi_cb() Yue Haibing
@ 2024-08-07 16:25 ` tip-bot2 for Yue Haibing
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Yue Haibing @ 2024-08-07 16:25 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Yue Haibing, Thomas Gleixner, x86, linux-kernel

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

Commit-ID:     00e5bd44389145cd2f42be8e98cadb210731e72a
Gitweb:        https://git.kernel.org/tip/00e5bd44389145cd2f42be8e98cadb210731e72a
Author:        Yue Haibing <yuehaibing@huawei.com>
AuthorDate:    Sat, 03 Aug 2024 19:37:04 +08:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Wed, 07 Aug 2024 18:15:35 +02:00

x86/apic: Remove unused inline function apic_set_eoi_cb()

Commit 2744a7ce34a7 ("x86/apic: Replace acpi_wake_cpu_handler_update() and
apic_set_eoi_cb()") left it unused.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240803113704.246752-1-yuehaibing@huawei.com

---
 arch/x86/include/asm/apic.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
index 34eaebe..9dd22ee 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -489,7 +489,6 @@ static inline u64 apic_icr_read(void) { return 0; }
 static inline void apic_icr_write(u32 low, u32 high) { }
 static inline void apic_wait_icr_idle(void) { }
 static inline u32 safe_apic_wait_icr_idle(void) { return 0; }
-static inline void apic_set_eoi_cb(void (*eoi)(void)) {}
 static inline void apic_native_eoi(void) { WARN_ON_ONCE(1); }
 static inline void apic_setup_apic_calls(void) { }
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-07 16:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-03 11:37 [PATCH -next] x86/apic: Remove unused inline function apic_set_eoi_cb() Yue Haibing
2024-08-07 16:25 ` [tip: x86/apic] " tip-bot2 for Yue Haibing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®