summaryrefslogtreecommitdiffstats
path: root/ipc/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/util.h')
-rw-r--r--ipc/util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipc/util.h b/ipc/util.h
index cde68bcad..ff4bfb0fc 100644
--- a/ipc/util.h
+++ b/ipc/util.h
@@ -99,4 +99,9 @@ extern inline int ipc_checkid(struct ipc_ids* ids, struct kern_ipc_perm* ipcp, i
void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out);
void ipc64_perm_to_ipc_perm(struct ipc64_perm *in, struct ipc_perm *out);
+#ifdef __ia64__
+ /* On IA-64, we always use the "64-bit version" of the IPC structures. */
+# define ipc_parse_version(cmd) IPC_64
+#else
int ipc_parse_version (int *cmd);
+#endif