diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-05-10 11:23:40 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-05-10 11:23:40 +0000 |
commit | 1cc863e4b6094a9494eac740b28925d15bb355d4 (patch) | |
tree | a90cf5264f58e39d7f5ce1332bec39623b34d49f | |
parent | b3b0a696a57b33cf3ff3401683777b315d57cd67 (diff) |
set pcsq in case we get signal delivery once interrupted from the gateway page; from chs
-rw-r--r-- | sys/arch/hppa/hppa/machdep.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c index 2aa530fff36..bedb16e4a71 100644 --- a/sys/arch/hppa/hppa/machdep.c +++ b/sys/arch/hppa/hppa/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.145 2005/04/18 12:16:03 mickey Exp $ */ +/* $OpenBSD: machdep.c,v 1.146 2005/05/10 11:23:39 mickey Exp $ */ /* * Copyright (c) 1999-2003 Michael Shalayeff @@ -1267,6 +1267,7 @@ sendsig(catcher, sig, mask, code, type, val) extern u_int fpu_enable; struct proc *p = curproc; struct trapframe *tf = p->p_md.md_regs; + struct pcb *pcb = &p->p_addr->u_pcb; struct sigacts *psp = p->p_sigacts; struct sigcontext ksc; siginfo_t ksi; @@ -1361,6 +1362,7 @@ sendsig(catcher, sig, mask, code, type, val) tf->tf_ipsw &= ~(PSL_N|PSL_B); tf->tf_iioq_head = HPPA_PC_PRIV_USER | p->p_sigcode; tf->tf_iioq_tail = tf->tf_iioq_head + 4; + tf->tf_iisq_tail = tf->tf_iisq_head = pcb->pcb_space; /* disable tracing in the trapframe */ #ifdef DEBUG |