blob: bcdbca398fac98cec417216968fb5296e96f4cd4 [file] [log] [blame]
/* autogenerated by gensyscalls.py */
#include <linux/err.h>
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
ENTRY(__set_thread_area)
pushl %ebx
mov 8(%esp), %ebx
movl $__NR_set_thread_area, %eax
int $0x80
cmpl $-MAX_ERRNO, %eax
jb 1f
negl %eax
pushl %eax
call __set_errno
addl $4, %esp
orl $-1, %eax
1:
popl %ebx
ret
END(__set_thread_area)