[xtensa-cvscommit] linux/arch/xtensa/tools offset.c,1.1.1.1,1.2
Brought to you by:
zankel
|
From: <joe...@us...> - 2002-10-22 17:59:50
|
Update of /cvsroot/xtensa/linux/arch/xtensa/tools
In directory usw-pr-cvs1:/tmp/cvs-serv11036/arch/xtensa/tools
Modified Files:
offset.c
Log Message:
The 2nd-level miss handlers overlooked a rare case where current->mm might be NULL and they should use current->active_mm instead. See the inline comments for details.
This fixes the board crash manifested by 'apachectl stop'.
Index: offset.c
===================================================================
RCS file: /cvsroot/xtensa/linux/arch/xtensa/tools/offset.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** offset.c 28 Aug 2002 16:10:14 -0000 1.1.1.1
--- offset.c 22 Oct 2002 17:59:47 -0000 1.2
***************
*** 83,86 ****
--- 83,87 ----
offset("#define TASK_NICE ", struct task_struct, nice);
offset("#define TASK_MM ", struct task_struct, mm);
+ offset("#define TASK_ACTIVE_MM ", struct task_struct, active_mm);
offset("#define TASK_PID ", struct task_struct, pid);
offset("#define TASK_THREAD ", struct task_struct, thread);
|