Skip to content

Commit 560db12

Browse files
jgross1bp3tk0v
authored andcommitted
x86/paravirt: Allow pv-calls outside paravirt.h
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
1 parent f88dc31 commit 560db12

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

arch/x86/include/asm/paravirt.h

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -588,22 +588,6 @@ static __always_inline unsigned long arch_local_irq_save(void)
588588
}
589589
#endif
590590

591-
592-
/* Make sure as little as possible of this mess escapes. */
593-
#undef PARAVIRT_CALL
594-
#undef __PVOP_CALL
595-
#undef __PVOP_VCALL
596-
#undef PVOP_VCALL0
597-
#undef PVOP_CALL0
598-
#undef PVOP_VCALL1
599-
#undef PVOP_CALL1
600-
#undef PVOP_VCALL2
601-
#undef PVOP_CALL2
602-
#undef PVOP_VCALL3
603-
#undef PVOP_CALL3
604-
#undef PVOP_VCALL4
605-
#undef PVOP_CALL4
606-
607591
void native_pv_lock_init(void) __init;
608592

609593
#else /* __ASSEMBLER__ */

0 commit comments

Comments
 (0)