Adding upstream version 6.02+dfsg.
[syslinux-debian/hramrach.git] / core / thread / sem_asm.S
blobce67471acaec780401c95f2572b59032cbdb1741
1         .globl  sem_down
2         .type   sem_down, @function
3 sem_down:
4         decl    (%eax)
5         js      __sem_down_slow
6         xorl    %eax, %eax
7         ret
8         .size   sem_down, .-sem_down
10         .globl  sem_up
11         .type   sem_up, @function
12 sem_up:
13         incl    (%eax)
14         jle     __sem_up_slow
15         ret
16         .size   sem_up, .-sem_up