]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
x86/paravirt: Allow pv-calls outside paravirt.h
authorJuergen Gross <jgross@suse.com>
Mon, 5 Jan 2026 11:05:18 +0000 (12:05 +0100)
committerBorislav Petkov (AMD) <bp@alien8.de>
Tue, 13 Jan 2026 12:50:26 +0000 (13:50 +0100)
In order to prepare for defining paravirt functions outside of paravirt.h,
don't #undef the paravirt call macros.

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260105110520.21356-20-jgross@suse.com
arch/x86/include/asm/paravirt.h

index 62399f5d037d6b45817d7f26550929eb35ef0f31..ba6b14b6f36a69fd036cb939c83c267e9932cc45 100644 (file)
@@ -588,22 +588,6 @@ static __always_inline unsigned long arch_local_irq_save(void)
 }
 #endif
 
-
-/* Make sure as little as possible of this mess escapes. */
-#undef PARAVIRT_CALL
-#undef __PVOP_CALL
-#undef __PVOP_VCALL
-#undef PVOP_VCALL0
-#undef PVOP_CALL0
-#undef PVOP_VCALL1
-#undef PVOP_CALL1
-#undef PVOP_VCALL2
-#undef PVOP_CALL2
-#undef PVOP_VCALL3
-#undef PVOP_CALL3
-#undef PVOP_VCALL4
-#undef PVOP_CALL4
-
 void native_pv_lock_init(void) __init;
 
 #else  /* __ASSEMBLER__ */