Re: [PATCH 1/1] sparc: Fix context switch on SMP

2015-11-16 Thread Sebastian Huber
Hello Daniel, could you please add comments to the move to PSR which are not followed by three nops and explain why they are not necessary. On 16/11/15 10:03, Daniel Cederman wrote: We must not load registers (e.g. PSR) from the heir context area before the heir stopped execution. --- c/src

[PATCH 1/1] sparc: Fix context switch on SMP

2015-11-16 Thread Daniel Cederman
We must not load registers (e.g. PSR) from the heir context area before the heir stopped execution. --- c/src/lib/libbsp/sparc/shared/irq_asm.S | 30 +- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/c/src/lib/libbsp/sparc/shared/irq_asm.S b/c/src/lib/