Changeset 95089 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- May 25, 2022 7:02:46 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
r95087 r95089 1733 1733 { 1734 1734 RT_NOREF(fCtxHook); 1735 #if RTLNX_VER_MIN(5,18,0) 1736 kernel_fpu_begin(); 1737 /* if (fCtxHook) */ 1738 preempt_enable(); /* HACK ALERT! undo the implicit preempt_disable() in kernel_fpu_begin(). */ 1739 return true; 1740 #else 1735 1741 return false; 1742 #endif 1736 1743 } 1737 1744 SUPR0_EXPORT_SYMBOL(SUPR0FpuBegin); … … 1741 1748 { 1742 1749 RT_NOREF(fCtxHook); 1750 #if RTLNX_VER_MIN(5,18,0) 1751 /* if (fCtxHook) */ 1752 preempt_disable(); /* HACK ALERT! undo the implicit preempt_enable() in SUPR0FpuBegin(). */ 1753 kernel_fpu_end(); 1754 #endif 1743 1755 } 1744 1756 SUPR0_EXPORT_SYMBOL(SUPR0FpuEnd);
Note:
See TracChangeset
for help on using the changeset viewer.