Yang Shi a80a0eb70c arm64: make irq_stack_ptr more robust
Switching between stacks is only valid if we are tracing ourselves while on the
irq_stack, so it is only valid when in current and non-preemptible context,
otherwise is is just zeroed off.

Fixes: 132cd887b5c5 ("arm64: Modify stack trace and dump for use with irq_stack")
Acked-by: James Morse <james.morse@arm.com>
Tested-by: James Morse <james.morse@arm.com>
Signed-off-by: Yang Shi <yang.shi@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2016-02-12 15:53:51 +00:00
..
2015-11-12 15:18:07 +00:00
2016-01-17 19:15:26 -05:00
2016-01-12 13:05:36 -08:00
2015-11-04 14:47:13 -08:00
2015-04-13 20:40:10 +02:00
2015-01-27 09:38:08 +00:00
2016-02-12 15:53:51 +00:00
2016-01-12 12:23:33 -08:00