summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-05-28 13:24:43 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-06-22 19:23:23 +0530
commit3ebedbb2fdf730b7e5e2417dbd37faee6304bfb5 (patch)
treec902fc923c5094ca614b389399c3b9ebb2ee90be /arch/arc/kernel
parent16f9afe651e8197fb7ce6df0990d8e2ad779e1af (diff)
downloadblackbird-op-linux-3ebedbb2fdf730b7e5e2417dbd37faee6304bfb5.tar.gz
blackbird-op-linux-3ebedbb2fdf730b7e5e2417dbd37faee6304bfb5.zip
ARC: Increase readability of entry handlers
* use artificial PUSH/POP contructs for CORE Reg save/restore to stack * use artificial PUSHAX/POPAX contructs for Auxiliary Space regs * macro'ize multiple copies of callee-reg-save/restore (SAVE_R13_TO_R24) * use BIC insn for inverse-and operation Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel')
-rw-r--r--arch/arc/kernel/process.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arc/kernel/process.c b/arch/arc/kernel/process.c
index db868db82944..c6e22e060578 100644
--- a/arch/arc/kernel/process.c
+++ b/arch/arc/kernel/process.c
@@ -73,6 +73,10 @@ asmlinkage void ret_from_fork(void);
* ~ ~
* | --to-- | (scratch Regs of user mode)
* | r0 |
+ * ------------------
+ * | SP |
+ * | orig_r0 |
+ * | orig_r8 |
* ------------------ <===== END of PAGE
*/
int copy_thread(unsigned long clone_flags,
OpenPOWER on IntegriCloud