diff --git a/sys/ia64/ia64/context.S b/sys/ia64/ia64/context.S index 67f2fe6d896e..c2f9ef8a83a3 100644 --- a/sys/ia64/ia64/context.S +++ b/sys/ia64/ia64/context.S @@ -168,14 +168,14 @@ END(restorectx) ENTRY(swapctx, 2) { .mmi - flushrs + mov ar.rsc=0 mov r16=ar.unat add r31=8,r32 ;; } { .mmi + flushrs st8 [r32]=sp,16 // sp - mov ar.rsc=0 mov r17=rp ;; } diff --git a/sys/ia64/ia64/context.s b/sys/ia64/ia64/context.s index 67f2fe6d896e..c2f9ef8a83a3 100644 --- a/sys/ia64/ia64/context.s +++ b/sys/ia64/ia64/context.s @@ -168,14 +168,14 @@ END(restorectx) ENTRY(swapctx, 2) { .mmi - flushrs + mov ar.rsc=0 mov r16=ar.unat add r31=8,r32 ;; } { .mmi + flushrs st8 [r32]=sp,16 // sp - mov ar.rsc=0 mov r17=rp ;; }