summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-05-28 09:54:43 +0200
committerVineet Gupta <vgupta@synopsys.com>2013-06-22 15:53:23 +0200
commit3ebedbb2fdf730b7e5e2417dbd37faee6304bfb5 (patch)
treec902fc923c5094ca614b389399c3b9ebb2ee90be /arch/arc/kernel
parentARC: pt_regs update #3: Remove unused gutter at start of callee_regs (diff)
downloadlinux-3ebedbb2fdf730b7e5e2417dbd37faee6304bfb5.tar.xz
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,