#1244: compilation fail for XScale BE target
----------------------------------+-----------------------------------------
Reporter: anonymous | Owner:
Type: defect | Status: closed
Priority: critical | Milestone:
Component: madwifi: driver | Version: v0.9.3
Resolution: wontfix | Keywords:
Patch_attached: 0 |
----------------------------------+-----------------------------------------
Comment (by [EMAIL PROTECTED]):
Comment the following lines located in file ath/if_athvar.h
#include <linux/sched.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,41)
#include <linux/tqueue.h>
#define work_struct tq_struct
/******************** COMMENTED BELOW TWO LINES TO OVERCOME COMPILATION
ERRORS **********/
//#define schedule_work(t) schedule_task((t))
//#define flush_scheduled_work() flush_scheduled_tasks()
#define ATH_INIT_WORK(t, f) do { \
memset((t), 0, sizeof(struct tq_struct)); \
(t)->routine = (void (*)(void*)) (f); \
(t)->data=(void *) (t); \
} while (0)
#else
--
Ticket URL: <http://madwifi.org/ticket/1244#comment:5>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets