2022-09-16 19:04:36 +02:00
|
|
|
Index: VirtualBox-6.1.38/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
|
2015-05-19 17:33:08 +02:00
|
|
|
===================================================================
|
2022-09-16 19:04:36 +02:00
|
|
|
--- VirtualBox-6.1.38.orig/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
|
|
|
|
+++ VirtualBox-6.1.38/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
|
|
|
|
@@ -51,6 +51,12 @@
|
2015-05-19 17:33:08 +02:00
|
|
|
# include <iprt/power.h>
|
|
|
|
# define VBOX_WITH_SUSPEND_NOTIFICATION
|
|
|
|
#endif
|
|
|
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0)
|
|
|
|
+# include <asm/smap.h>
|
|
|
|
+#else
|
|
|
|
+static inline void clac(void) { }
|
|
|
|
+static inline void stac(void) { }
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
#include <linux/sched.h>
|
2016-08-19 10:55:54 +02:00
|
|
|
#include <linux/miscdevice.h>
|