Commit 560db125 authored by Juergen Gross's avatar Juergen Gross Committed by Borislav Petkov (AMD)
Browse files

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: default avatarJuergen Gross <jgross@suse.com>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260105110520.21356-20-jgross@suse.com
parent f88dc319
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -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__ */