libc_r/libstand/libthread_xu: Match ENTRY()s with END()s.
[dragonfly.git] / lib / libthread_xu / arch / i386 / i386 / _umtx_sleep_wakeup_err.S
1 #include <machine/asm.h>
2 #include <sys/syscall.h>
3
4
5 #define KERNCALL        int $0x80
6
7 #define SYSCALL_ERR(x)                                          \
8                         ENTRY(__CONCAT(x, _err));               \
9                         lea __CONCAT(SYS,x),%eax; KERNCALL; ret; \
10                         END(__CONCAT(x, _err))
11
12
13 SYSCALL_ERR(_umtx_sleep)
14 SYSCALL_ERR(_umtx_wakeup)