blob: ea76cc01ad248db5e7b6598e9d47ded4083653b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
From 1f4cbd10cf3cbd87756adf764e5ed6aa18b67a55 Mon Sep 17 00:00:00 2001
From: Justus Winter <4winter@informatik.uni-hamburg.de>
Date: Thu, 18 Dec 2014 12:04:39 +0100
Subject: [PATCH gnumach 3/3] Disable manual inlining in mach_msg_trap
---
ipc/mach_msg.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ipc/mach_msg.c b/ipc/mach_msg.c
index cdf16ea..ac3614e 100644
--- a/ipc/mach_msg.c
+++ b/ipc/mach_msg.c
@@ -390,6 +390,7 @@ mach_msg_trap(
{
mach_msg_return_t mr;
+#if 0
/* first check for common cases */
if (option == (MACH_SEND_MSG|MACH_RCV_MSG)) {
@@ -1665,6 +1666,7 @@ mach_msg_trap(
thread_syscall_return(MACH_MSG_SUCCESS);
/*NOTREACHED*/
}
+#endif
if (option & MACH_SEND_MSG) {
mr = mach_msg_send(msg, option, send_size,
--
2.1.3
|