aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libaio/src/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libaio/src/syscall.h')
-rw-r--r--tools/libaio/src/syscall.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/tools/libaio/src/syscall.h b/tools/libaio/src/syscall.h
deleted file mode 100644
index 0283825817..0000000000
--- a/tools/libaio/src/syscall.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#include <sys/syscall.h>
-#include <unistd.h>
-
-#define _SYMSTR(str) #str
-#define SYMSTR(str) _SYMSTR(str)
-
-#define SYMVER(compat_sym, orig_sym, ver_sym) \
- __asm__(".symver " SYMSTR(compat_sym) "," SYMSTR(orig_sym) "@LIBAIO_" SYMSTR(ver_sym));
-
-#define DEFSYMVER(compat_sym, orig_sym, ver_sym) \
- __asm__(".symver " SYMSTR(compat_sym) "," SYMSTR(orig_sym) "@@LIBAIO_" SYMSTR(ver_sym));
-
-#if defined(__i386__)
-#include "syscall-i386.h"
-#elif defined(__x86_64__)
-#include "syscall-x86_64.h"
-#elif defined(__ia64__)
-#include "syscall-ia64.h"
-#elif defined(__PPC__)
-#include "syscall-ppc.h"
-#elif defined(__s390__)
-#include "syscall-s390.h"
-#elif defined(__alpha__)
-#include "syscall-alpha.h"
-#else
-#error "add syscall-arch.h"
-#endif