blob: a112963054e8c05d4ad4bd4a686d83a4df426430 [file] [log] [blame]
/* Generated by gensyscalls.py. Do not edit. */
#include <asm/unistd.h>
#include <linux/err.h>
#include <machine/asm.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)