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/pc98 | |
| parent | 42dcd8695a9e7b26d5bb9445a47f3311854b573a (diff) | |
Notes
Diffstat (limited to 'sys/pc98')
| -rw-r--r-- | sys/pc98/i386/machdep.c | 4 | ||||
| -rw-r--r-- | sys/pc98/pc98/machdep.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 63a24ffb9f53..0c0243d58202 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 63a24ffb9f53..0c0243d58202 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 |
