On Tue 10 Apr 2001 at 18:59:12 -0700, Alex Tuninga wrote:
> Let me add to what David said earlier:
> The file include/linux/sched.h was changed in 2.2.19 and various fields of
> the struct task_struct were changed and fileds were added.
> The field that screwed up Win4Lin is: unsigned int task_exclusive;
> Try moving this to the end of the struct task_struct, then make clean, make
> bzImage.

This worked for me.  Here's the patch:

--- linux-2.2.19-orig/include/linux/sched.h     Mon Mar 26 02:37:40 2001
+++ linux-2.2.19/include/linux/sched.h  Wed Apr 11 19:18:17 2001
@@ -267,7 +267,6 @@
        struct task_struct *next_task, *prev_task;
        struct task_struct *next_run,  *prev_run;
 
-       unsigned int task_exclusive;    /* task wants wake-one semantics in 
__wake_up() */
 /* task state */
        struct linux_binfmt *binfmt;
        int exit_code, exit_signal;
@@ -352,6 +351,8 @@
 
 /* oom handling */
        int oom_kill_try;
+
+       unsigned int task_exclusive;    /* task wants wake-one semantics in 
+__wake_up() */
 };
 
 /*
@@ -391,7 +392,6 @@
 /* counter */  DEF_PRIORITY,DEF_PRIORITY,0, \
 /* SMP */      0,0,0,-1, \
 /* schedlink */        &init_task,&init_task, &init_task, &init_task, \
-/* task_exclusive */ 0, \
 /* binfmt */   NULL, \
 /* ec,brk... */        0,0,0,0,0,0, \
 /* pid etc.. */        0,0,0,0,0, \
@@ -423,6 +423,7 @@
 /* signals */  SPIN_LOCK_UNLOCKED, &init_signals, {{0}}, {{0}}, NULL, 
&init_task.sigqueue, 0, 0, \
 /* exec cts */ 0,0, \
 /* oom */      0, \
+/* task_exclusive */ 0, \
 }
 
 union task_union {


Thanks to Alex Tuninga and David Peet from Netraverse for the solution.

Tim.
-- 
Tim Bell - [EMAIL PROTECTED] - System Administrator & Programmer
    Trinity College, Royal Parade, Parkville, Victoria, 3052, Australia
_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
https://lists.netraverse.com/mailman/listinfo/win4lin-users

Reply via email to