aboutsummaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2024-03-27 19:18:27 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-03-27 19:38:57 +0100
commit04e11360aa26af072eb0ea3b024bc3983f1b7f8f (patch)
tree572109535d4bc336d552f8a9ca8e896446d285f0 /ipc
parentf6a107020203225ec217a3752846dbf13f533413 (diff)
downloadgnumach-04e11360aa26af072eb0ea3b024bc3983f1b7f8f.tar.gz
gnumach-04e11360aa26af072eb0ea3b024bc3983f1b7f8f.tar.bz2
gnumach-04e11360aa26af072eb0ea3b024bc3983f1b7f8f.zip
Use the x86_64 message ABI on all 64-bit ports
Message-ID: <20240327161841.95685-4-bugaevc@gmail.com>
Diffstat (limited to 'ipc')
-rw-r--r--ipc/ipc_kmsg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/ipc_kmsg.c b/ipc/ipc_kmsg.c
index 179c43fa..b23cae7c 100644
--- a/ipc/ipc_kmsg.c
+++ b/ipc/ipc_kmsg.c
@@ -1357,7 +1357,7 @@ ipc_kmsg_copyin_body(
if ((is_port && !is_inline && (size != PORT_NAME_T_SIZE_IN_BITS)) ||
(is_port && is_inline && (size != PORT_T_SIZE_IN_BITS)) ||
-#ifndef __x86_64__
+#ifndef __LP64__
(longform && ((type->msgtl_header.msgt_name != 0) ||
(type->msgtl_header.msgt_size != 0) ||
(type->msgtl_header.msgt_number != 0))) ||
@@ -2876,7 +2876,7 @@ ipc_msg_print(mach_msg_header_t *msgh)
is_port = MACH_MSG_TYPE_PORT_ANY(name);
if ((is_port && (size != PORT_T_SIZE_IN_BITS)) ||
-#ifndef __x86_64__
+#ifndef __LP64__
(longform && ((type->msgtl_header.msgt_name != 0) ||
(type->msgtl_header.msgt_size != 0) ||
(type->msgtl_header.msgt_number != 0))) ||