From ddffcffd5c37a6a92ce89163a674951a01c2ea1d Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 13 Mar 2002 04:02:27 +0000 Subject: [PATCH] Fix a bug where the wrong number of windows were copied for a failed fill on return to user mode. We may not have frame pointers setup for more than 1 on return from exec. --- sys/sparc64/sparc64/exception.S | 2 +- sys/sparc64/sparc64/exception.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sparc64/sparc64/exception.S b/sys/sparc64/sparc64/exception.S index 0d0cd9202df9..cb0f581a094d 100644 --- a/sys/sparc64/sparc64/exception.S +++ b/sys/sparc64/sparc64/exception.S @@ -2642,7 +2642,7 @@ tl0_ret_fill_end: mov %o1, PCPU_REG wrpr %g0, PSTATE_KERNEL, %pstate b %xcc, .Ltl0_trap_reenter - mov T_FILL, %o0 + mov T_FILL_RET, %o0 END(tl0_ret) /* diff --git a/sys/sparc64/sparc64/exception.s b/sys/sparc64/sparc64/exception.s index 0d0cd9202df9..cb0f581a094d 100644 --- a/sys/sparc64/sparc64/exception.s +++ b/sys/sparc64/sparc64/exception.s @@ -2642,7 +2642,7 @@ tl0_ret_fill_end: mov %o1, PCPU_REG wrpr %g0, PSTATE_KERNEL, %pstate b %xcc, .Ltl0_trap_reenter - mov T_FILL, %o0 + mov T_FILL_RET, %o0 END(tl0_ret) /*