diff options
| author | Bruce Evans <bde@FreeBSD.org> | 2002-02-03 04:09:02 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 2002-02-03 04:09:02 +0000 |
| commit | 5c8d0a85b0e1327ff47d38aa037273f406c3c1fd (patch) | |
| tree | 16fad0d0860e34b83bdf1ba4ae1fb837e25b2083 /sys | |
| parent | 42dcd8695a9e7b26d5bb9445a47f3311854b573a (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/alpha/alpha/machdep.c | 4 | ||||
| -rw-r--r-- | sys/amd64/amd64/machdep.c | 4 | ||||
| -rw-r--r-- | sys/i386/i386/machdep.c | 4 | ||||
| -rw-r--r-- | sys/pc98/i386/machdep.c | 4 | ||||
| -rw-r--r-- | sys/pc98/pc98/machdep.c | 4 |
5 files changed, 20 insertions, 0 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index 73a67657a533e..9ac2824cc126f 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -1446,6 +1446,7 @@ osigreturn(struct thread *td, struct osigcontext *sigcntxp; } */ *uap) { +#ifdef COMPAT_43 struct osigcontext *scp, ksc; struct proc *p = td->td_proc; @@ -1498,6 +1499,9 @@ osigreturn(struct thread *td, sizeof(struct fpreg)); td->td_pcb->pcb_fp_control = ksc.sc_fp_control; return (EJUSTRETURN); +#else /* !COMPAT_43 */ + return (ENOSYS); +#endif /* COMPAT_43 */ } int diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 0d23bcf2ba42c..308d319bf4c5e 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -594,6 +594,7 @@ osigreturn(td, uap) struct osigcontext *sigcntxp; } */ *uap; { +#ifdef COMPAT_43 struct trapframe *regs; struct osigcontext *scp; struct proc *p = td->td_proc; @@ -696,6 +697,9 @@ osigreturn(td, uap) regs->tf_eip = scp->sc_pc; regs->tf_eflags = eflags; return (EJUSTRETURN); +#else /* !COMPAT_43 */ + return (ENOSYS); +#endif /* COMPAT_43 */ } int diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 0d23bcf2ba42c..308d319bf4c5e 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -594,6 +594,7 @@ osigreturn(td, uap) struct osigcontext *sigcntxp; } */ *uap; { +#ifdef COMPAT_43 struct trapframe *regs; struct osigcontext *scp; struct proc *p = td->td_proc; @@ -696,6 +697,9 @@ osigreturn(td, uap) regs->tf_eip = scp->sc_pc; regs->tf_eflags = eflags; return (EJUSTRETURN); +#else /* !COMPAT_43 */ + return (ENOSYS); +#endif /* COMPAT_43 */ } int diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 63a24ffb9f53f..0c0243d58202d 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -607,6 +607,7 @@ osigreturn(td, uap) struct osigcontext *sigcntxp; } */ *uap; { +#ifdef COMPAT_43 struct trapframe *regs; struct osigcontext *scp; struct proc *p = td->td_proc; @@ -709,6 +710,9 @@ osigreturn(td, uap) regs->tf_eip = scp->sc_pc; regs->tf_eflags = eflags; return (EJUSTRETURN); +#else /* !COMPAT_43 */ + return (ENOSYS); +#endif /* COMPAT_43 */ } int diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 63a24ffb9f53f..0c0243d58202d 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -607,6 +607,7 @@ osigreturn(td, uap) struct osigcontext *sigcntxp; } */ *uap; { +#ifdef COMPAT_43 struct trapframe *regs; struct osigcontext *scp; struct proc *p = td->td_proc; @@ -709,6 +710,9 @@ osigreturn(td, uap) regs->tf_eip = scp->sc_pc; regs->tf_eflags = eflags; return (EJUSTRETURN); +#else /* !COMPAT_43 */ + return (ENOSYS); +#endif /* COMPAT_43 */ } int |
