blob: 739d4869ef8158c0523d216126ab0a08f50c7171 [file] [log] [blame]
Ken Sumrallae2d5ba2011-03-18 11:55:12 -07001/* autogenerated by gensyscalls.py */
Elliott Hughes9aceab52013-03-12 14:57:30 -07002#include <linux/err.h>
Elliott Hughes7582a9c2013-02-06 17:08:15 -08003#include <machine/asm.h>
Ken Sumrallae2d5ba2011-03-18 11:55:12 -07004#include <sys/linux-syscalls.h>
5
Elliott Hughes7582a9c2013-02-06 17:08:15 -08006ENTRY(utimensat)
Ken Sumrallae2d5ba2011-03-18 11:55:12 -07007 pushl %ebx
8 pushl %ecx
9 pushl %edx
10 pushl %esi
11 mov 20(%esp), %ebx
12 mov 24(%esp), %ecx
13 mov 28(%esp), %edx
14 mov 32(%esp), %esi
15 movl $__NR_utimensat, %eax
16 int $0x80
Elliott Hughes9aceab52013-03-12 14:57:30 -070017 cmpl $-MAX_ERRNO, %eax
Ken Sumrallae2d5ba2011-03-18 11:55:12 -070018 jb 1f
19 negl %eax
20 pushl %eax
21 call __set_errno
22 addl $4, %esp
23 orl $-1, %eax
241:
25 popl %esi
26 popl %edx
27 popl %ecx
28 popl %ebx
29 ret
Elliott Hughes7582a9c2013-02-06 17:08:15 -080030END(utimensat)