diff options
author | Tobias Weingartner <weingart@cvs.openbsd.org> | 2009-03-25 22:43:00 +0000 |
---|---|---|
committer | Tobias Weingartner <weingart@cvs.openbsd.org> | 2009-03-25 22:43:00 +0000 |
commit | 5b50f63abad000170e5fa6173975059cb8e8e96e (patch) | |
tree | 3e29b544203234a4c6a4ecdccde00afd849eb36f /sys/arch | |
parent | 6955677230481632c40b5626fb004d389d1fc3ac (diff) |
Nuke old useless define. Miod was ok with the idea.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hp300/hp300/hpux_machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/m68k/m68k/sig_machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/mvme68k/mvme68k/hpux_machdep.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/hp300/hp300/hpux_machdep.c b/sys/arch/hp300/hp300/hpux_machdep.c index 74eec250d6c..e478ceceea0 100644 --- a/sys/arch/hp300/hp300/hpux_machdep.c +++ b/sys/arch/hp300/hp300/hpux_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hpux_machdep.c,v 1.22 2008/05/01 15:30:29 miod Exp $ */ +/* $OpenBSD: hpux_machdep.c,v 1.23 2009/03/25 22:42:58 weingart Exp $ */ /* $NetBSD: hpux_machdep.c,v 1.19 1998/02/16 20:58:30 thorpej Exp $ */ /* @@ -632,7 +632,7 @@ hpux_sys_sigreturn(p, v, retval) */ if (flags & HSS_USERREGS) bcopy((caddr_t)tstate.hss_frame.f_regs, - (caddr_t)frame->f_regs, sizeof(frame->f_regs)-2*NBPW); + (caddr_t)frame->f_regs, sizeof(frame->f_regs)-2*sizeof(int)); /* * Restore long stack frames. Note that we do not copy diff --git a/sys/arch/m68k/m68k/sig_machdep.c b/sys/arch/m68k/m68k/sig_machdep.c index 36832c6bc55..ae07a5d9d3c 100644 --- a/sys/arch/m68k/m68k/sig_machdep.c +++ b/sys/arch/m68k/m68k/sig_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sig_machdep.c,v 1.19 2007/11/02 19:18:54 martin Exp $ */ +/* $OpenBSD: sig_machdep.c,v 1.20 2009/03/25 22:42:58 weingart Exp $ */ /* $NetBSD: sig_machdep.c,v 1.3 1997/04/30 23:28:03 gwr Exp $ */ /* @@ -362,7 +362,7 @@ sys_sigreturn(p, v, retval) */ if (flags & SS_USERREGS) bcopy((caddr_t)tstate.ss_frame.f_regs, - (caddr_t)frame->f_regs, sizeof(frame->f_regs)-2*NBPW); + (caddr_t)frame->f_regs, sizeof(frame->f_regs)-2*sizeof(int)); /* * Restore long stack frames. Note that we do not copy * back the saved SR or PC, they were picked up above from diff --git a/sys/arch/mvme68k/mvme68k/hpux_machdep.c b/sys/arch/mvme68k/mvme68k/hpux_machdep.c index 2c10d677863..10de23f574c 100644 --- a/sys/arch/mvme68k/mvme68k/hpux_machdep.c +++ b/sys/arch/mvme68k/mvme68k/hpux_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hpux_machdep.c,v 1.16 2008/05/01 15:30:30 miod Exp $ */ +/* $OpenBSD: hpux_machdep.c,v 1.17 2009/03/25 22:42:58 weingart Exp $ */ /* $NetBSD: hpux_machdep.c,v 1.9 1997/03/16 10:00:45 thorpej Exp $ */ /* @@ -670,7 +670,7 @@ hpux_sys_sigreturn(p, v, retval) */ if (flags & HSS_USERREGS) bcopy((caddr_t)tstate.hss_frame.f_regs, - (caddr_t)frame->f_regs, sizeof(frame->f_regs)-2*NBPW); + (caddr_t)frame->f_regs, sizeof(frame->f_regs)-2*sizeof(int)); /* * Restore long stack frames. Note that we do not copy |