diff options
author | bde <bde@FreeBSD.org> | 2002-02-01 15:44:03 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-02-01 15:44:03 +0000 |
commit | 199578d7e8dd5f3e862d836d520b44843738e810 (patch) | |
tree | 4fa3b87f94af2c013a39398905d632cfdae879a0 /sys/alpha | |
parent | 71445fd2e0afffa649adf74ad07b0e1a30167fb1 (diff) | |
download | FreeBSD-src-199578d7e8dd5f3e862d836d520b44843738e810.zip FreeBSD-src-199578d7e8dd5f3e862d836d520b44843738e810.tar.gz |
Compile osigreturn() unconditionally since it will always be needed on
some arches and the syscall table is machine-independent. It was
(bogusly) conditional on COMPAT_43, so this usually makes no difference.
ia64: in addition:
- replace the bogus cloned comment before osigreturn() by a correct one.
osigreturn() is just a stub fo ia64's.
- fix the formatting of cloned comment before sigreturn().
- fix the return code. use nosys() instead of returning ENOSYS to get
the same semantics as if the syscall is not in the syscall table.
Generating SIGSYS is actually correct here.
- fix style bugs.
powerpc: copy the cleaned up ia64 stub. This mainly fixes a bogus comment.
sparc64: copy the cleaned up the ia64 stub, since there was no stub before.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/alpha/machdep.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index 50df8e7..73a6765 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -1440,7 +1440,6 @@ sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code) * make sure that the user has not modified the * state to gain improper privileges. */ -#ifdef COMPAT_43 int osigreturn(struct thread *td, struct osigreturn_args /* { @@ -1500,7 +1499,6 @@ osigreturn(struct thread *td, td->td_pcb->pcb_fp_control = ksc.sc_fp_control; return (EJUSTRETURN); } -#endif int sigreturn(struct thread *td, |