[PATCH libaio v2 05/10] Remove unused raw_syscall.c

Guillem Jover <[email protected]>
Newsgroups gmane.linux.kernel.aio.general
Message-ID <[email protected]>
From: Guillem Jover <[email protected]>

The ia64_aio_raw_syscall assembler function was replaced by the
__ia64_raw_syscall in commit a4984400f1d40c3cd9353ee2d817271c0fa3b4bd.

The hand-crafted syscalls for all architectures then got removed
in commit 97fd3fc0195500e616e34047cba4846164c411d9.

This file has not actually been used for a while, so we can drop it.

Signed-off-by: Guillem Jover <[email protected]>
---
 src/Makefile      |  3 ---
 src/raw_syscall.c | 19 -------------------
 2 files changed, 22 deletions(-)
 delete mode 100644 src/raw_syscall.c

diff --git a/src/Makefile b/src/Makefile
index 7be15de..803760d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -30,9 +30,6 @@ libaio_srcs += io_queue_wait.c io_queue_run.c
 libaio_srcs += io_getevents.c io_submit.c io_cancel.c
 libaio_srcs += io_setup.c io_destroy.c io_pgetevents.c
 
-# internal functions
-libaio_srcs += raw_syscall.c
-
 # old symbols
 libaio_srcs += compat-0_1.c
 
diff --git a/src/raw_syscall.c b/src/raw_syscall.c
deleted file mode 100644
index c3fe4b8..0000000
--- a/src/raw_syscall.c
+++ /dev/null
@@ -1,19 +0,0 @@
-#include "syscall.h"
-
-#if defined(__ia64__)
-/* based on code from glibc by Jes Sorensen */
-__asm__(".text\n"
-	".globl	__ia64_aio_raw_syscall\n"
-	".proc	__ia64_aio_raw_syscall\n"
-	"__ia64_aio_raw_syscall:\n"
-	"alloc r2=ar.pfs,1,0,8,0\n"
-	"mov r15=r32\n"
-	"break 0x100000\n"
-	";;"
-	"br.ret.sptk.few b0\n"
-	".size __ia64_aio_raw_syscall, . - __ia64_aio_raw_syscall\n"
-	".endp __ia64_aio_raw_syscall"
-);
-#endif
-
-;
-- 
2.45.1


--
To unsubscribe, send a message with 'unsubscribe linux-aio' in
the body to [email protected].  For more info on Linux AIO,
see: http://www.kvack.org/aio/
Don't email: <a href=mailto:"[email protected]">[email protected]</a>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.