diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2023-02-11 23:07:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2023-02-11 23:07:29 +0000 |
commit | 093c867c6043e3af2f4b845860e1e59452286937 (patch) | |
tree | 3225d278651946319a6b9686cf843a1f1645c4ef /sys/arch/sh | |
parent | 6b3c6d9f392a03c2ed83b3487ed43f174e081efb (diff) |
__syscall() is no longer neccessary since the system calls which needed
it are now unpadded
ok kettenis guenther
Diffstat (limited to 'sys/arch/sh')
-rw-r--r-- | sys/arch/sh/sh/trap.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/arch/sh/sh/trap.c b/sys/arch/sh/sh/trap.c index 491a239bd21..72421959d63 100644 --- a/sys/arch/sh/sh/trap.c +++ b/sys/arch/sh/sh/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.53 2023/01/16 05:32:05 deraadt Exp $ */ +/* $OpenBSD: trap.c,v 1.54 2023/02/11 23:07:27 deraadt Exp $ */ /* $NetBSD: exception.c,v 1.32 2006/09/04 23:57:52 uwe Exp $ */ /* $NetBSD: syscall.c,v 1.6 2006/03/07 07:21:50 thorpej Exp $ */ @@ -536,19 +536,6 @@ syscall(struct proc *p, struct trapframe *tf) code = tf->tf_r4; argoff = 1; break; - case SYS___syscall: - /* - * Like syscall, but code is a quad, so as to maintain - * quad alignment for the rest of the arguments. - */ - indirect = code; -#if _BYTE_ORDER == BIG_ENDIAN - code = tf->tf_r5; -#else - code = tf->tf_r4; -#endif - argoff = 2; - break; default: argoff = 0; break; |