Changeset 39013 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Oct 18, 2011 8:26:56 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c
r39006 r39013 73 73 queue_work(g_prtR0LnxWorkQueue, pWork); 74 74 #else 75 INIT_TQUEUE(pWork, pfnWorker, pWork);75 INIT_TQUEUE(pWork, (void (*)(void *))pfnWorker, pWork); 76 76 queue_task(pWork, &g_rtR0LnxWorkQueue); 77 77 #endif … … 97 97 DECLHIDDEN(int) rtR0InitNative(void) 98 98 { 99 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 41) 99 100 g_prtR0LnxWorkQueue = create_workqueue("iprt"); 100 101 if (!g_prtR0LnxWorkQueue) 101 102 return VERR_NO_MEMORY; 103 #endif 102 104 103 105 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.