VirtualBox/VirtualBox-6.1.18-kernel-5.10.patch

14 lines
543 B
Diff
Raw Normal View History

--- VirtualBox-6.1.18/src/VBox/HostDrivers/Support/SUPDrvTracer.cpp.orig 2021-04-15 15:20:45.932726596 +0200
+++ VirtualBox-6.1.18/src/VBox/HostDrivers/Support/SUPDrvTracer.cpp 2021-04-15 15:22:18.820418821 +0200
@@ -1479,6 +1479,10 @@
# if defined(RT_ARCH_AMD64)
__asm__(" \
movq g_pfnSupdrvProbeFireKernel(%rip), %rax \n\
+999:\n\
+ .pushsection .discard.retpoline_safe\n\
+ .quad 999b\n\
+ .popsection\n\
jmp *%rax \n\
");
# elif defined(RT_ARCH_X86)