[IA64] Only unwind non-running tasks.
authorRobin Holt <holt@sgi.com>
Fri, 18 May 2007 18:46:52 +0000 (13:46 -0500)
committerTony Luck <tony.luck@intel.com>
Tue, 22 May 2007 17:16:07 +0000 (10:16 -0700)
commit6ae384884d936cb39ab20238af34689933e44525
tree41fdde5596919fb7f987f637a4578792ef39ea4e
parente2e6fe7bb6e30621ad4e8a3acb1e711815c239bd
[IA64] Only unwind non-running tasks.

Unwinding a running task has proven problematic.

In one instance, the running task was attempting to unwind itself and
received an interrupt between when get_wchan allocated local variables on
the stack and when unw_init_from_blocked_task was called which resulted
in unw_init_frame_info to place this tasks task_struct pointer over the
switch stack's ar_bspstore entry.

Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/process.c