platform_bionic/libc/arch-arm/syscalls/unshare.S
Jeff Sharkey 5467f25f82 Add unshare() syscall.
Bug: 6925012
Change-Id: I2530a8f6cea49eb32b60f8f9c4d86963773456ca
2012-08-10 11:17:59 -07:00

14 lines
308 B
ArmAsm

/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
ENTRY(unshare)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_unshare
swi #0
ldmfd sp!, {r4, r7}
movs r0, r0
bxpl lr
b __set_syscall_errno
END(unshare)