]> granicus.if.org Git - strace/commitdiff
ia64: parametrize i386 syscallent size check
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 26 Feb 2015 22:03:19 +0000 (22:03 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 26 Feb 2015 22:03:19 +0000 (22:03 +0000)
* linux/ia64/syscallent.h: Use (SYS_ipc_subcall + SYS_ipc_nsubcalls)
instead of numeric constant.

linux/ia64/syscallent.h

index 158724bf1d79f9b039f8a8bb0cb10032630f4d35..0f93a3d1a816b0a84e924e4227c2911fc9791ecb 100644 (file)
 /* You must be careful to check ../i386/syscallent.h so that this table
    starts where that one leaves off.
 */
-#if SYS_ipc_subcall + SYS_ipc_nsubcalls != 445
-# error fix me
-#endif
-
-[445 ... 1023] = { },
+[(SYS_ipc_subcall + SYS_ipc_nsubcalls) ... 1023] = { },
 [1024] = { 0,  0,              printargs,                      "ni_syscall"            },
 [1025] = { 1,  TP|SE,          sys_exit,                       "exit"                  },
 [1026] = { 3,  TD,             sys_read,                       "read"                  },