aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-05-27 08:59:16 -0400
committerVineet Gupta <vgupta@synopsys.com>2013-06-22 09:53:21 -0400
commitbed30976e7f1077c105306597ef05895234ba600 (patch)
tree24a1f2fd2240a76b7437c68d96023e5c2a02bebe
parent3e1ae441886b82fbf605f37ac0756b811d55f3d5 (diff)
ARC: pt_regs update #0: remove kernel stack canary
This stack slot is going to be used in subsequent commits Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
-rw-r--r--arch/arc/include/asm/entry.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arc/include/asm/entry.h b/arch/arc/include/asm/entry.h
index eb2ae53187d9..5bbec8ad8123 100644
--- a/arch/arc/include/asm/entry.h
+++ b/arch/arc/include/asm/entry.h
@@ -326,10 +326,6 @@
326 /* With current tsk in r9, get it's kernel mode stack base */ 326 /* With current tsk in r9, get it's kernel mode stack base */
327 GET_TSK_STACK_BASE r9, r9 327 GET_TSK_STACK_BASE r9, r9
328 328
329#ifdef PT_REGS_CANARY
330 st 0xabcdabcd, [r9, 0]
331#endif
332
333 /* Save Pre Intr/Exception User SP on kernel stack */ 329 /* Save Pre Intr/Exception User SP on kernel stack */
334 st.a sp, [r9, -12] ; Make room for orig_r0 and orig_r8 330 st.a sp, [r9, -12] ; Make room for orig_r0 and orig_r8
335 331
@@ -437,11 +433,6 @@
437 lr r9, [erbta] 433 lr r9, [erbta]
438 st.a r9, [sp, -4] 434 st.a r9, [sp, -4]
439 435
440#ifdef PT_REGS_CANARY
441 mov r9, 0xdeadbeef
442 st r9, [sp, -4]
443#endif
444
445 /* move up by 1 word to "create" pt_regs->"stack_place_holder" */ 436 /* move up by 1 word to "create" pt_regs->"stack_place_holder" */
446 sub sp, sp, 4 437 sub sp, sp, 4
447.endm 438.endm
@@ -540,10 +531,6 @@
540 lr r9, [bta_l1] 531 lr r9, [bta_l1]
541 st.a r9, [sp, -4] 532 st.a r9, [sp, -4]
542 533
543#ifdef PT_REGS_CANARY
544 mov r9, 0xdeadbee1
545 st r9, [sp, -4]
546#endif
547 /* move up by 1 word to "create" pt_regs->"stack_place_holder" */ 534 /* move up by 1 word to "create" pt_regs->"stack_place_holder" */
548 sub sp, sp, 4 535 sub sp, sp, 4
549.endm 536.endm
@@ -575,11 +562,6 @@
575 lr r9, [bta_l2] 562 lr r9, [bta_l2]
576 st.a r9, [sp, -4] 563 st.a r9, [sp, -4]
577 564
578#ifdef PT_REGS_CANARY
579 mov r9, 0xdeadbee2
580 st r9, [sp, -4]
581#endif
582
583 /* move up by 1 word to "create" pt_regs->"stack_place_holder" */ 565 /* move up by 1 word to "create" pt_regs->"stack_place_holder" */
584 sub sp, sp, 4 566 sub sp, sp, 4
585.endm 567.endm