From 7669d1e334e6b96455eece78da43bf830b93d697 Mon Sep 17 00:00:00 2001 From: Richard Pennington Date: Fri, 9 Nov 2012 23:32:57 +0100 Subject: import preliminary ppc work by rdp. --- src/thread/ppc/__unmapself.S | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/thread/ppc/__unmapself.S (limited to 'src/thread/ppc') diff --git a/src/thread/ppc/__unmapself.S b/src/thread/ppc/__unmapself.S new file mode 100644 index 00000000..e14663e7 --- /dev/null +++ b/src/thread/ppc/__unmapself.S @@ -0,0 +1,11 @@ +#include +#include + .text + .global __unmapself + .type __unmapself,%function +__unmapself: + li r0, __NR_munmap + sc + li r0, __NR_exit + sc + blr -- cgit 1.4.1