diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/kernel/entry.S | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S index 0c84bed1bda9..6359d7ffbb7c 100644 --- a/arch/ia64/kernel/entry.S +++ b/arch/ia64/kernel/entry.S | |||
@@ -692,7 +692,7 @@ ENTRY(ia64_leave_syscall) | |||
692 | ;; | 692 | ;; |
693 | (p6) ld4 r31=[r18] // load current_thread_info()->flags | 693 | (p6) ld4 r31=[r18] // load current_thread_info()->flags |
694 | ld8 r19=[r2],PT(B6)-PT(LOADRS) // load ar.rsc value for "loadrs" | 694 | ld8 r19=[r2],PT(B6)-PT(LOADRS) // load ar.rsc value for "loadrs" |
695 | mov b7=r0 // clear b7 | 695 | nop.i 0 |
696 | ;; | 696 | ;; |
697 | ld8 r23=[r3],PT(R11)-PT(AR_BSPSTORE) // load ar.bspstore (may be garbage) | 697 | ld8 r23=[r3],PT(R11)-PT(AR_BSPSTORE) // load ar.bspstore (may be garbage) |
698 | ld8 r18=[r2],PT(R9)-PT(B6) // load b6 | 698 | ld8 r18=[r2],PT(R9)-PT(B6) // load b6 |
@@ -754,7 +754,14 @@ ENTRY(ia64_leave_syscall) | |||
754 | (pUStk) ld4 r17=[r3] // r17 = cpu_data->phys_stacked_size_p8 | 754 | (pUStk) ld4 r17=[r3] // r17 = cpu_data->phys_stacked_size_p8 |
755 | mov.m ar.csd=r0 // M2 clear ar.csd | 755 | mov.m ar.csd=r0 // M2 clear ar.csd |
756 | mov f10=f0 // clear f10 | 756 | mov f10=f0 // clear f10 |
757 | |||
758 | nop.m 0 | ||
759 | movl r14=__kernel_syscall_via_epc // X | ||
757 | ;; | 760 | ;; |
761 | nop.m 0 | ||
762 | nop.m 0 | ||
763 | mov b7=r14 // I0 clear b7 (hint with __kernel_syscall_via_epc) | ||
764 | |||
758 | mov r14=r0 // clear r14 | 765 | mov r14=r0 // clear r14 |
759 | mov f11=f0 // clear f11 | 766 | mov f11=f0 // clear f11 |
760 | (pKStk) br.cond.dpnt.many skip_rbs_switch | 767 | (pKStk) br.cond.dpnt.many skip_rbs_switch |