summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/arch/sparc/sys/syscall.S8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/arch/sparc/sys/syscall.S b/lib/libc/arch/sparc/sys/syscall.S
index b0c7d3a84c3..45ce38791d8 100644
--- a/lib/libc/arch/sparc/sys/syscall.S
+++ b/lib/libc/arch/sparc/sys/syscall.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.S,v 1.4 2005/08/07 16:40:15 espie Exp $ */
+/* $OpenBSD: syscall.S,v 1.5 2016/03/27 21:59:32 guenther Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -34,8 +34,4 @@
#include "SYS.h"
-ENTRY(syscall)
- mov 0|SYSCALL_G2RFLAG, %g1 ! 0 == indir
- add %o7, 8, %g2
- t ST_SYSCALL
- ERROR()
+RSYSCALL(syscall)