forked from pool/virtualbox
Accepting request 308032 from Virtualization
1 OBS-URL: https://build.opensuse.org/request/show/308032 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=99
This commit is contained in:
commit
9cdf63bc20
17
smap.diff
Normal file
17
smap.diff
Normal file
@ -0,0 +1,17 @@
|
||||
Index: VirtualBox-4.3.28/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
|
||||
===================================================================
|
||||
--- VirtualBox-4.3.28.orig/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
|
||||
+++ VirtualBox-4.3.28/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
|
||||
@@ -48,6 +48,12 @@
|
||||
# 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>
|
||||
#ifdef CONFIG_DEVFS_FS
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 19 15:09:12 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Add smap.diff (boo#931461)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 15 07:49:31 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
|
@ -73,6 +73,8 @@ Patch101: vbox-default-os-type.diff
|
||||
Patch103: vbox-disable-updates.diff
|
||||
#use pie/fPIE for setuid binaries (bnc#743143)
|
||||
Patch104: vbox-fpie.diff
|
||||
#smap issues on Haswell or Broadwell (boo#931461)
|
||||
Patch105: smap.diff
|
||||
BuildRequires: LibVNCServer-devel
|
||||
BuildRequires: SDL-devel
|
||||
BuildRequires: acpica
|
||||
@ -293,6 +295,7 @@ This package contains icons for guest desktop files that were created on the des
|
||||
%patch101 -p1
|
||||
%patch103
|
||||
%patch104 -p1
|
||||
%patch105 -p1
|
||||
#copy user manual
|
||||
cp %{SOURCE1} UserManual.pdf
|
||||
#copy kbuild config
|
||||
|
Loading…
Reference in New Issue
Block a user