mirror of https://github.com/proski/madwifi
Allow compilation for 2.4 kernels that backport the workqueue API
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4086 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
ec0aeb9411
commit
763e90cdda
|
@ -79,7 +79,7 @@ typedef void *TQUEUE_ARG;
|
|||
#endif /* !DECLARE_TASKLET */
|
||||
|
||||
#include <linux/sched.h>
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,41)
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,41)) && !defined(INIT_WORK)
|
||||
#include <linux/tqueue.h>
|
||||
#define work_struct tq_struct
|
||||
#define schedule_work(t) schedule_task((t))
|
||||
|
|
Loading…
Reference in New Issue