aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-06-11 11:16:26 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-06-11 11:16:26 +0000
commit1930e303cfa1b9fe2c50fdad0d1ba6143311a53c (patch)
treeeeeded1f490a2da21f50d2e6f81efd45f8326e90 /sys/amd64
parentf89485e2b1417088084fabcc31952be90ae25378 (diff)
downloadsrc-1930e303cfa1b9fe2c50fdad0d1ba6143311a53c.tar.gz
src-1930e303cfa1b9fe2c50fdad0d1ba6143311a53c.zip
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.
Notes
Notes: svn path=/head/; revision=130344
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 6eae41fb85af..53765146cf1c 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