2009-03-04 04:28:35 +01:00
|
|
|
/* autogenerated by gensyscalls.py */
|
2011-02-17 19:47:44 +01:00
|
|
|
#include <machine/asm.h>
|
2009-03-04 04:28:35 +01:00
|
|
|
#include <sys/linux-syscalls.h>
|
|
|
|
|
2011-02-17 19:47:44 +01:00
|
|
|
ENTRY(_exit_thread)
|
2009-03-04 04:28:35 +01:00
|
|
|
.save {r4, r7}
|
|
|
|
stmfd sp!, {r4, r7}
|
|
|
|
ldr r7, =__NR_exit
|
|
|
|
swi #0
|
|
|
|
ldmfd sp!, {r4, r7}
|
|
|
|
movs r0, r0
|
|
|
|
bxpl lr
|
|
|
|
b __set_syscall_errno
|
2011-02-17 19:47:44 +01:00
|
|
|
END(_exit_thread)
|