From 093c867c6043e3af2f4b845860e1e59452286937 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 11 Feb 2023 23:07:29 +0000 Subject: __syscall() is no longer neccessary since the system calls which needed it are now unpadded ok kettenis guenther --- sys/arch/sh/sh/trap.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'sys/arch/sh') 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; -- cgit v1.2.3