Skip to content

Commit ebd4469

Browse files
ajdlinuxKAGA-KOKO
authored andcommitted
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: 935ace2 ("entry: Provide infrastructure for work before transitioning to guest mode") Signed-off-by: Andrew Donnellan <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent e9a6fb0 commit ebd4469

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/entry-virt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*/
3333
static inline int arch_xfer_to_guest_mode_handle_work(unsigned long ti_work);
3434

35-
#ifndef arch_xfer_to_guest_mode_work
35+
#ifndef arch_xfer_to_guest_mode_handle_work
3636
static inline int arch_xfer_to_guest_mode_handle_work(unsigned long ti_work)
3737
{
3838
return 0;

0 commit comments

Comments
 (0)