aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/mux.c
diff options
context:
space:
mode:
authorJohannes Weiner <jw@emlix.com>2009-05-11 15:43:33 +0200
committerChris Zankel <chris@zankel.net>2009-05-11 21:59:43 -0700
commit586411dcd1935f91796d5e8a29aa3cfdf01a01f4 (patch)
treefac1b05ad8c5a708080251b17d4a3fc0b9018c4f /arch/arm/mach-omap2/mux.c
parent7dbe5c542464a511f0ea6a14e3ff08874d7e21d5 (diff)
xtensa: always use correct stack pointer for stack traces
Commit '28a0ce7 xtensa: use correct stack pointer for stack traces' changed the stack tracer from always reading the stack pointer register to always using the saved value in the task descriptor. The author was too dense to consider the fact that the saved stack value is stale for a running process und thus unusable for 'current'. What we do now is to use the stack pointer register (a1) for when the task is unknown - we can't help it then - or when the task is 'current'. For everything else use the saved stack pointer value contained in the task descriptor. Signed-off-by: Johannes Weiner <jw@emlix.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/arm/mach-omap2/mux.c')
0 files changed, 0 insertions, 0 deletions