* [PATCH] entry: Fix ifndef around arch_xfer_to_guest_mode_handle_work() stub
@ 2025-11-05 3:40 Andrew Donnellan
2025-11-13 15:30 ` [tip: core/urgent] " tip-bot2 for Andrew Donnellan
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Donnellan @ 2025-11-05 3:40 UTC (permalink / raw)
To: Thomas Gleixner, Peter Zijlstra, Andy Lutomirski
Cc: linux-kernel, kvm, Nicholas Miehlbradt, Heiko Carstens,
Christian Borntraeger, Andrew Donnellan
The stub implementation of arch_xfer_to_guest_mode_handle_work() is
guarded by an #ifndef that incorrectly checks for the name
arch_xfer_to_guest_mode_work instead. It seems the function was renamed
to add "_handle" as a late change to the original patch, and the #ifndef
wasn't updated to go with it.
Change the #ifndef to match the name of the function. No users right now,
so no need to update the arch code.
Fixes: 935ace2fb5cc4 ("entry: Provide infrastructure for work before transitioning to guest mode")
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
---
include/linux/entry-virt.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/entry-virt.h b/include/linux/entry-virt.h
index 42c89e3e5ca7ac9ed90706ced5b688d909ab5f3c..bfa767702d9a691bdca599ff5a573e124a99457a 100644
--- a/include/linux/entry-virt.h
+++ b/include/linux/entry-virt.h
@@ -32,7 +32,7 @@
*/
static inline int arch_xfer_to_guest_mode_handle_work(unsigned long ti_work);
-#ifndef arch_xfer_to_guest_mode_work
+#ifndef arch_xfer_to_guest_mode_handle_work
static inline int arch_xfer_to_guest_mode_handle_work(unsigned long ti_work)
{
return 0;
---
base-commit: 284922f4c563aa3a8558a00f2a05722133237fe8
change-id: 20251105-entry-fix-ifndef-95417070c5f5
--
Andrew Donnellan OzLabs, ADL Canberra
ajd@linux.ibm.com IBM Australia Limited
^ permalink raw reply [flat|nested] 2+ messages in thread* [tip: core/urgent] entry: Fix ifndef around arch_xfer_to_guest_mode_handle_work() stub
2025-11-05 3:40 [PATCH] entry: Fix ifndef around arch_xfer_to_guest_mode_handle_work() stub Andrew Donnellan
@ 2025-11-13 15:30 ` tip-bot2 for Andrew Donnellan
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Andrew Donnellan @ 2025-11-13 15:30 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Andrew Donnellan, Thomas Gleixner, x86, linux-kernel
The following commit has been merged into the core/urgent branch of tip:
Commit-ID: ebd4469e7af61019daaf904fdcba07a9ecd18440
Gitweb: https://git.kernel.org/tip/ebd4469e7af61019daaf904fdcba07a9ecd18440
Author: Andrew Donnellan <ajd@linux.ibm.com>
AuthorDate: Wed, 05 Nov 2025 14:40:32 +11:00
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Thu, 13 Nov 2025 16:27:56 +01:00
entry: Fix ifndef around arch_xfer_to_guest_mode_handle_work() stub
The stub implementation of arch_xfer_to_guest_mode_handle_work() is
guarded by an #ifndef that incorrectly checks for the name
arch_xfer_to_guest_mode_work instead. It seems the function was renamed
to add "_handle" as a late change to the original patch, and the #ifndef
wasn't updated to go with it.
Change the #ifndef to match the name of the function. No users right now,
so no need to update any architecture code.
Fixes: 935ace2fb5cc4 ("entry: Provide infrastructure for work before transitioning to guest mode")
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251105-entry-fix-ifndef-v1-1-d8d28045b627@linux.ibm.com
---
include/linux/entry-virt.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/entry-virt.h b/include/linux/entry-virt.h
index 42c89e3..bfa7677 100644
--- a/include/linux/entry-virt.h
+++ b/include/linux/entry-virt.h
@@ -32,7 +32,7 @@
*/
static inline int arch_xfer_to_guest_mode_handle_work(unsigned long ti_work);
-#ifndef arch_xfer_to_guest_mode_work
+#ifndef arch_xfer_to_guest_mode_handle_work
static inline int arch_xfer_to_guest_mode_handle_work(unsigned long ti_work)
{
return 0;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-11-13 15:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-05 3:40 [PATCH] entry: Fix ifndef around arch_xfer_to_guest_mode_handle_work() stub Andrew Donnellan
2025-11-13 15:30 ` [tip: core/urgent] " tip-bot2 for Andrew Donnellan
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®