summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86/syscalls/mknod.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-x86/syscalls/mknod.S')
-rw-r--r--libc/arch-x86/syscalls/mknod.S27
1 files changed, 0 insertions, 27 deletions
diff --git a/libc/arch-x86/syscalls/mknod.S b/libc/arch-x86/syscalls/mknod.S
deleted file mode 100644
index eebef21..0000000
--- a/libc/arch-x86/syscalls/mknod.S
+++ /dev/null
@@ -1,27 +0,0 @@
-/* autogenerated by gensyscalls.py */
-#include <linux/err.h>
-#include <machine/asm.h>
-#include <asm/unistd.h>
-
-ENTRY(mknod)
- pushl %ebx
- pushl %ecx
- pushl %edx
- mov 16(%esp), %ebx
- mov 20(%esp), %ecx
- mov 24(%esp), %edx
- movl $__NR_mknod, %eax
- int $0x80
- cmpl $-MAX_ERRNO, %eax
- jb 1f
- negl %eax
- pushl %eax
- call __set_errno
- addl $4, %esp
- orl $-1, %eax
-1:
- popl %edx
- popl %ecx
- popl %ebx
- ret
-END(mknod)