--- 2.3.18ac6/fs/proc/array.c Mon Sep 20 01:15:41 1999 +++ /tmp/array.c Mon Sep 20 20:32:19 1999 @@ -1007,12 +1007,12 @@ vsize += vma->vm_end - vma->vm_start; vma = vma->vm_next; } - eip = KSTK_EIP(tsk); - esp = KSTK_ESP(tsk); + eip = KSTK_EIP(p); + esp = KSTK_ESP(p); up(&mm->mmap_sem); } - wchan = get_wchan(tsk); + wchan = get_wchan(p); /* scale priority and nice values from timeslices to -20..20 */ /* to make it look like a "normal" Unix priority/nice value */