aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-common/entry.S')
-rw-r--r--arch/blackfin/mach-common/entry.S17
1 files changed, 9 insertions, 8 deletions
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S
index 0df7ef200f9d..ccfa7c490ff9 100644
--- a/arch/blackfin/mach-common/entry.S
+++ b/arch/blackfin/mach-common/entry.S
@@ -405,7 +405,7 @@ ENTRY(_double_fault)
405 405
406 r0 = sp; /* stack frame pt_regs pointer argument ==> r0 */ 406 r0 = sp; /* stack frame pt_regs pointer argument ==> r0 */
407 SP += -12; 407 SP += -12;
408 call _double_fault_c; 408 pseudo_long_call _double_fault_c, p5;
409 SP += 12; 409 SP += 12;
410.L_double_fault_panic: 410.L_double_fault_panic:
411 JUMP .L_double_fault_panic 411 JUMP .L_double_fault_panic
@@ -447,7 +447,7 @@ ENTRY(_exception_to_level5)
447 447
448 r0 = sp; /* stack frame pt_regs pointer argument ==> r0 */ 448 r0 = sp; /* stack frame pt_regs pointer argument ==> r0 */
449 SP += -12; 449 SP += -12;
450 call _trap_c; 450 pseudo_long_call _trap_c, p4;
451 SP += 12; 451 SP += 12;
452 452
453 /* If interrupts were off during the exception (IPEND[4] = 1), turn them off 453 /* If interrupts were off during the exception (IPEND[4] = 1), turn them off
@@ -551,7 +551,7 @@ ENTRY(_kernel_execve)
551 p0 = sp; 551 p0 = sp;
552 sp += -16; 552 sp += -16;
553 [sp + 12] = p0; 553 [sp + 12] = p0;
554 call _do_execve; 554 pseudo_long_call _do_execve, p5;
555 SP += 16; 555 SP += 16;
556 cc = r0 == 0; 556 cc = r0 == 0;
557 if ! cc jump .Lexecve_failed; 557 if ! cc jump .Lexecve_failed;
@@ -704,7 +704,7 @@ ENTRY(_system_call)
704 sp += 4; 704 sp += 4;
705 705
706 SP += -12; 706 SP += -12;
707 call _schedule; 707 pseudo_long_call _schedule, p4;
708 SP += 12; 708 SP += 12;
709 709
710 jump .Lresume_userspace_1; 710 jump .Lresume_userspace_1;
@@ -723,7 +723,7 @@ ENTRY(_system_call)
723 723
724 r0 = sp; 724 r0 = sp;
725 SP += -12; 725 SP += -12;
726 call _do_notify_resume; 726 pseudo_long_call _do_notify_resume, p5;
727 SP += 12; 727 SP += 12;
728 728
729.Lsyscall_really_exit: 729.Lsyscall_really_exit:
@@ -736,7 +736,7 @@ ENDPROC(_system_call)
736 * this symbol need not be global anyways, so ... 736 * this symbol need not be global anyways, so ...
737 */ 737 */
738_sys_trace: 738_sys_trace:
739 call _syscall_trace; 739 pseudo_long_call _syscall_trace, p5;
740 740
741 /* Execute the appropriate system call */ 741 /* Execute the appropriate system call */
742 742
@@ -760,7 +760,7 @@ _sys_trace:
760 SP += 24; 760 SP += 24;
761 [sp + PT_R0] = r0; 761 [sp + PT_R0] = r0;
762 762
763 call _syscall_trace; 763 pseudo_long_call _syscall_trace, p5;
764 jump .Lresume_userspace; 764 jump .Lresume_userspace;
765ENDPROC(_sys_trace) 765ENDPROC(_sys_trace)
766 766
@@ -1007,7 +1007,8 @@ ENTRY(_schedule_and_signal_from_int)
1007 1007
1008 r0 = sp; 1008 r0 = sp;
1009 sp += -12; 1009 sp += -12;
1010 call _finish_atomic_sections; 1010
1011 pseudo_long_call _finish_atomic_sections, p5;
1011 sp += 12; 1012 sp += 12;
1012 jump.s .Lresume_userspace; 1013 jump.s .Lresume_userspace;
1013ENDPROC(_schedule_and_signal_from_int) 1014ENDPROC(_schedule_and_signal_from_int)