summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-02-11 23:07:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-02-11 23:07:29 +0000
commit093c867c6043e3af2f4b845860e1e59452286937 (patch)
tree3225d278651946319a6b9686cf843a1f1645c4ef /sys/arch/powerpc
parent6b3c6d9f392a03c2ed83b3487ed43f174e081efb (diff)
__syscall() is no longer neccessary since the system calls which needed
it are now unpadded ok kettenis guenther
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/powerpc/trap.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/arch/powerpc/powerpc/trap.c b/sys/arch/powerpc/powerpc/trap.c
index 5002becf570..94ec7ccf281 100644
--- a/sys/arch/powerpc/powerpc/trap.c
+++ b/sys/arch/powerpc/powerpc/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.130 2023/01/31 01:27:58 gkoehler Exp $ */
+/* $OpenBSD: trap.c,v 1.131 2023/02/11 23:07:27 deraadt Exp $ */
/* $NetBSD: trap.c,v 1.3 1996/10/13 03:31:37 christos Exp $ */
/*
@@ -372,16 +372,6 @@ trap(struct trapframe *frame)
indirect = code;
code = *params++;
break;
- case SYS___syscall:
- /*
- * Like syscall, but code is a quad,
- * so as to maintain quad alignment
- * for the rest of the args.
- */
- params++;
- indirect = code;
- code = *params++;
- break;
default:
break;
}