From 445b2e70a7a7516f8602b085e16608d9a670af7b Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 8 Apr 2015 14:04:34 +0200 Subject: add reorder-ipc_port.patch --- debian/patches/reorder-ipc_port.patch | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 debian/patches/reorder-ipc_port.patch (limited to 'debian/patches/reorder-ipc_port.patch') diff --git a/debian/patches/reorder-ipc_port.patch b/debian/patches/reorder-ipc_port.patch new file mode 100644 index 0000000..52fcc3b --- /dev/null +++ b/debian/patches/reorder-ipc_port.patch @@ -0,0 +1,42 @@ +commit 291ad0d14456308e94e8f1853b905c2f67be4f07 +Author: Justus Winter <4winter@informatik.uni-hamburg.de> +Date: Wed Apr 8 13:28:12 2015 +0200 + + xxx ipc: reorder struct ipc_port + +diff --git a/ipc/ipc_port.h b/ipc/ipc_port.h +index 6914c71..7773585 100644 +--- a/ipc/ipc_port.h ++++ b/ipc/ipc_port.h +@@ -82,21 +82,25 @@ struct ipc_port { + ipc_port_timestamp_t timestamp; + } data; + ++ mach_port_rights_t ip_srights; ++ mach_port_rights_t ip_sorights; ++ ++ struct ipc_pset *ip_pset; ++ mach_port_seqno_t ip_seqno; /* locked by message queue */ ++ mach_port_msgcount_t ip_msgcount; ++ struct ipc_thread_queue ip_blocked; ++ ++ /* Cold fields below. */ ++ + ipc_kobject_t ip_kobject; + + mach_port_mscount_t ip_mscount; +- mach_port_rights_t ip_srights; +- mach_port_rights_t ip_sorights; + + struct ipc_port *ip_nsrequest; + struct ipc_port *ip_pdrequest; + struct ipc_port_request *ip_dnrequests; + +- struct ipc_pset *ip_pset; +- mach_port_seqno_t ip_seqno; /* locked by message queue */ +- mach_port_msgcount_t ip_msgcount; + mach_port_msgcount_t ip_qlimit; +- struct ipc_thread_queue ip_blocked; + unsigned long ip_protected_payload; + }; + -- cgit v1.2.3