Changeset 63341 in vbox for trunk/src/VBox/Runtime/r0drv
- Timestamp:
- Aug 11, 2016 2:12:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c
r62566 r63341 362 362 #ifdef CONFIG_SMP 363 363 if (fPinned) 364 { 365 # if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0) 366 mod_timer(&pSubTimer->u.Std.LnxTimer, pSubTimer->u.Std.ulNextJiffies); 367 # else 364 368 mod_timer_pinned(&pSubTimer->u.Std.LnxTimer, pSubTimer->u.Std.ulNextJiffies); 369 # endif 370 } 365 371 else 366 372 #endif … … 797 803 #ifdef CONFIG_SMP 798 804 if (pTimer->fSpecificCpu || pTimer->fAllCpus) 805 { 806 # if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0) 807 mod_timer(&pSubTimer->u.Std.LnxTimer, pSubTimer->u.Std.ulNextJiffies); 808 # else 799 809 mod_timer_pinned(&pSubTimer->u.Std.LnxTimer, pSubTimer->u.Std.ulNextJiffies); 810 # endif 811 } 800 812 else 801 813 #endif … … 854 866 #ifdef CONFIG_SMP 855 867 if (pTimer->fSpecificCpu || pTimer->fAllCpus) 868 { 869 # if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0) 870 mod_timer(&pSubTimer->u.Std.LnxTimer, pSubTimer->u.Std.ulNextJiffies); 871 # else 856 872 mod_timer_pinned(&pSubTimer->u.Std.LnxTimer, pSubTimer->u.Std.ulNextJiffies); 873 # endif 874 } 857 875 else 858 876 #endif … … 1567 1585 #endif 1568 1586 { 1587 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0) 1588 init_timer_pinned(&pTimer->aSubTimers[iCpu].u.Std.LnxTimer); 1589 #else 1569 1590 init_timer(&pTimer->aSubTimers[iCpu].u.Std.LnxTimer); 1591 #endif 1570 1592 pTimer->aSubTimers[iCpu].u.Std.LnxTimer.data = (unsigned long)&pTimer->aSubTimers[iCpu]; 1571 1593 pTimer->aSubTimers[iCpu].u.Std.LnxTimer.function = rtTimerLinuxStdCallback;
Note:
See TracChangeset
for help on using the changeset viewer.