diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2002-10-25 19:10:58 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2002-10-25 19:10:58 +0000 |
| commit | 23eeeff7bee66bd81fa2d7ec9d648339bd0d041f (patch) | |
| tree | 96a1089f558875f808b1fd36f885179cd78f55de /sys/powerpc/aim | |
| parent | fb3a308a4ac3ca2c6fcd097a2990d7ea52ab230f (diff) | |
Notes
Diffstat (limited to 'sys/powerpc/aim')
| -rw-r--r-- | sys/powerpc/aim/machdep.c | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index 3c44ba975d5a8..cec3dd4250b14 100644 --- a/sys/powerpc/aim/machdep.c +++ b/sys/powerpc/aim/machdep.c @@ -598,18 +598,6 @@ sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code) PROC_LOCK(p); } -/* - * Stub to satisfy the reference to osigreturn in the syscall table. This - * is needed even for newer arches that don't support old signals because - * the syscall table is machine-independent. - */ -int -osigreturn(struct thread *td, struct osigreturn_args *uap) -{ - - return (nosys(td, (struct nosys_args *)uap)); -} - int sigreturn(struct thread *td, struct sigreturn_args *uap) { @@ -656,6 +644,15 @@ sigreturn(struct thread *td, struct sigreturn_args *uap) return (EJUSTRETURN); } +#ifdef COMPAT_FREEBSD4 +int +freebsd4_sigreturn(struct thread *td, struct freebsd4_sigreturn_args *uap) +{ + + return sigreturn(td, (struct sigreturn_args *)uap); +} +#endif + void cpu_boot(int howto) { |
