Ignore:
Timestamp:
Apr 3, 2017, 4:51:56 PM (8 years ago)
Author:
David Azarewicz
Message:

Merged/reintegrated v2 branch into trunk. Trunk is now v2

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/include/linux/workqueue.h

    r587 r598  
    33
    44#include <linux/timer.h>
    5 #include <compat_22.h>
     5#include <sound/compat_22.h>
    66/* we know this is used below exactly once for at most one waiter */
    77
     
    3333int queue_work(struct workqueue_struct *wq, struct work_struct *work);
    3434void flush_workqueue(struct workqueue_struct *wq);
     35int queue_delayed_work(struct workqueue_struct *wq, struct delayed_work *dwork, unsigned long delay);
     36int cancel_delayed_work(struct delayed_work *dwork);
    3537
    3638#define INIT_WORK(_work, _func, _data)                  \
     
    5456#undef INIT_WORK
    5557#define INIT_WORK(w,f) snd_INIT_WORK(w,f)
     58#define INIT_DELAYED_WORK(_work, _func) INIT_WORK(&(_work)->work, _func)
     59#define work_pending(work) test_bit(0, &(work)->pending)
     60#define delayed_work_pending(w) work_pending(&(w)->work)
     61#define schedule_delayed_work(work, delay) queue_delayed_work(NULL, (work), (delay))
     62
    5663#define create_singlethread_workqueue(name) create_workqueue(name)
    57 
     64#define cancel_delayed_work_sync flush_delayed_work_sync
    5865#endif /* __LINUX_WORKQUEUE_H */
Note: See TracChangeset for help on using the changeset viewer.