tmp_suning_uos_patched/arch/xtensa
Johannes Weiner 586411dcd1 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>
2009-05-11 21:59:43 -07:00
..
boot xtensa: move headers files to arch/xtensa/include 2008-11-06 10:25:09 -08:00
configs xtensa: platform: s6105 2009-04-02 23:44:31 -07:00
include/asm xtensa: Fix checksum header file 2009-05-11 21:48:23 -07:00
kernel xtensa: always use correct stack pointer for stack traces 2009-05-11 21:59:43 -07:00
lib xtensa: move headers files to arch/xtensa/include 2008-11-06 10:25:09 -08:00
mm xtensa: nommu support 2009-04-02 23:41:50 -07:00
platforms xtensa: we don't need to include asm/io.h 2009-04-03 00:16:34 -07:00
variants xtensa: only build platform or variant if they contain a Makefile 2009-04-03 00:06:45 -07:00
Kconfig xtensa: Fix architecture specific Kconfig 2009-05-11 21:48:17 -07:00
Kconfig.debug [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 1 2005-06-24 00:05:21 -07:00
Makefile xtensa: only build platform or variant if they contain a Makefile 2009-04-03 00:06:45 -07:00