VirtualBox

Changeset 39013 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Oct 18, 2011 8:26:56 AM (13 years ago)
Author:
vboxsync
Message:

initterm-r0drv-linux.c: Attempting to fix the build for < 2.5.41.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c

    r39006 r39013  
    7373    queue_work(g_prtR0LnxWorkQueue, pWork);
    7474#else
    75     INIT_TQUEUE(pWork, pfnWorker, pWork);
     75    INIT_TQUEUE(pWork, (void (*)(void *))pfnWorker, pWork);
    7676    queue_task(pWork, &g_rtR0LnxWorkQueue);
    7777#endif
     
    9797DECLHIDDEN(int) rtR0InitNative(void)
    9898{
     99#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 41)
    99100    g_prtR0LnxWorkQueue = create_workqueue("iprt");
    100101    if (!g_prtR0LnxWorkQueue)
    101102        return VERR_NO_MEMORY;
     103#endif
    102104
    103105    return VINF_SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette