Adding a list to the task struct in sched.h
<p>I'm trying to add a list to the task struct in sched.h in linux kernel (2.4.14-18).</p>

<p>I've added the member</p>

<pre><code>list_t waitList
</code></pre>

<p>in the task_struct, and added</p>

<pre><code>waitList:           LIST_HEAD_INIT(tsk.waitList)
</code></pre>

<p>to the INIT_TASK macro.</p>

<p>I get a kernel oops when i compile and load the kernel.
Is there anything else i need to do and missed?</p>