diff options
author | phk <phk@FreeBSD.org> | 2004-06-11 11:16:26 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-06-11 11:16:26 +0000 |
commit | 86602fc06c6eef73f48ce541f6b8d2b6af993629 (patch) | |
tree | eeeded1f490a2da21f50d2e6f81efd45f8326e90 /sys/amd64 | |
parent | 31644ac9d825eba99a73dc4d36f6f2c06879799d (diff) | |
download | FreeBSD-src-86602fc06c6eef73f48ce541f6b8d2b6af993629.zip FreeBSD-src-86602fc06c6eef73f48ce541f6b8d2b6af993629.tar.gz |
Deorbit COMPAT_SUNOS.
We inherited this from the sparc32 port of BSD4.4-Lite1. We have neither
a sparc32 port nor a SunOS4.x compatibility desire these days.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 6eae41f..5376514 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -262,7 +262,7 @@ sendsig(catcher, sig, mask, code) SIGISMEMBER(psp->ps_sigonstack, sig)) { sp = td->td_sigstk.ss_sp + td->td_sigstk.ss_size - sizeof(struct sigframe); -#if defined(COMPAT_43) || defined(COMPAT_SUNOS) +#if defined(COMPAT_43) td->td_sigstk.ss_flags |= SS_ONSTACK; #endif } else @@ -403,7 +403,7 @@ sigreturn(td, uap) bcopy(&ucp->uc_mcontext.mc_rdi, regs, sizeof(*regs)); PROC_LOCK(p); -#if defined(COMPAT_43) || defined(COMPAT_SUNOS) +#if defined(COMPAT_43) if (ucp->uc_mcontext.mc_onstack & 1) td->td_sigstk.ss_flags |= SS_ONSTACK; else |