Troy Heber wrote:
On 05/24/07 14:10, Dave Anderson wrote:
>< MEMBER_OFFSET_INIT(task_struct_thread_info, "task_struct",
>< "thread_info");
>---
>
>> if (MEMBER_EXISTS("task_struct", "thread_info"))
>> MEMBER_OFFSET_INIT(task_struct_thread_info,
"task_struct",
>> "thread_info");
>> else if (MEMBER_EXISTS("task_struct", "stack"))
>> MEMBER_OFFSET_INIT(task_struct_thread_info,
"task_struct",
>> "thread_info");
>> else
>> ASSIGN_OFFSET(task_struct_thread_info) = INVALID_OFFSET;
>>
Ahh, yea that's obvious now. Just don't forget to change "thread_info"
to "stack" in the else if clause before you apply the patch.
D'oh...