]> granicus.if.org Git - strace/commitdiff
syscall: move all ia64 specific includes to an arch specific file
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 24 Dec 2017 18:49:26 +0000 (18:49 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 24 Dec 2017 18:49:26 +0000 (18:49 +0000)
* syscall.c [IA64]: Remove.
* linux/ia64/get_syscall_args.c: Include <asm/rse.h>.

linux/ia64/get_syscall_args.c
syscall.c

index 1b942ebaeb589c50d475e902c445d7a48b1535cb..cd305590d1923e51f377cffbc8b84e32e4b28eba 100644 (file)
@@ -1,3 +1,5 @@
+#include <asm/rse.h>
+
 /* Return -1 on error or 1 on success (never 0!). */
 static int
 get_syscall_args(struct tcb *tcp)
index d41b6b3718dda3bae013eda0b916cbee2a987238..e2bfff82d0ca0a71ef616f440301031b589375bb 100644 (file)
--- a/syscall.c
+++ b/syscall.c
 # include <asm/psr.h>
 #endif
 
-#ifdef IA64
-# include <asm/rse.h>
-#endif
-
 #ifndef NT_PRSTATUS
 # define NT_PRSTATUS 1
 #endif