Changeset 10866 in vbox for trunk/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c
- Timestamp:
- Jul 24, 2008 5:49:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c
r10864 r10866 196 196 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) 197 197 rc = on_each_cpu(rtmpLinuxWrapper, &Args, 1 /* wait */); 198 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)198 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) 199 199 rc = on_each_cpu(rtmpLinuxWrapper, &Args, 0 /* retry */, 1 /* wait */); 200 200 201 #else /* older kernels */ 202 201 203 # ifdef preempt_disable 202 204 preempt_disable(); … … 226 228 Args.cHits = 0; 227 229 228 # 230 #ifdef preempt_disable 229 231 preempt_disable(); 230 # 232 #endif 231 233 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) 232 234 rc = smp_call_function(rtmpLinuxWrapper, &Args, 1 /* wait */); … … 234 236 rc = smp_call_function(rtmpLinuxWrapper, &Args, 0 /* retry */, 1 /* wait */); 235 237 #endif /* older kernels */ 236 # 238 #ifdef preempt_enable 237 239 preempt_enable(); 238 # 240 #endif 239 241 240 242 Assert(rc == 0); NOREF(rc);
Note:
See TracChangeset
for help on using the changeset viewer.