Changeset 54802 in vbox
- Timestamp:
- Mar 17, 2015 8:32:43 AM (10 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
r54650 r54802 48 48 # include <iprt/power.h> 49 49 # define VBOX_WITH_SUSPEND_NOTIFICATION 50 #endif51 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0)52 # include <asm/smap.h>53 #else54 static inline void clac(void) { }55 static inline void stac(void) { }56 50 #endif 57 51 -
trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
r54650 r54802 146 146 #endif 147 147 148 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0) 149 # include <asm/smap.h> 150 #else 151 static inline void clac(void) { } 152 static inline void stac(void) { } 153 #endif 154 148 155 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) 149 156 # ifndef page_to_pfn -
trunk/src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c
r48383 r54802 90 90 Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD)); 91 91 92 stac(); 92 93 pThis->pfnThreadCtxHook(RTTHREADCTXEVENT_PREEMPTING, pThis->pvUser); 94 clac(); 93 95 } 94 96 … … 110 112 Assert(pThis->fRegistered); 111 113 114 stac(); 112 115 pThis->pfnThreadCtxHook(RTTHREADCTXEVENT_RESUMED, pThis->pvUser); 116 clac(); 113 117 } 114 118
Note:
See TracChangeset
for help on using the changeset viewer.