summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/powerpc/SYS.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/powerpc/SYS.h b/lib/libc/powerpc/SYS.h
index dc83e87..dc0cd02 100644
--- a/lib/libc/powerpc/SYS.h
+++ b/lib/libc/powerpc/SYS.h
@@ -41,3 +41,7 @@ ENTRY(__CONCAT(__sys_,x)) ; \
li 0,(SYS_ ## x) ; \
sc ; \
bso 2b
+
+#define RSYSCALL(x) \
+ SYSCALL(x) ; \
+ blr
OpenPOWER on IntegriCloud