From 24924e7251ab3a675e8b4b01f075b420e53d9175 Mon Sep 17 00:00:00 2001
From: Eric Wong <e@80x24.org>
Date: Wed, 30 Oct 2013 23:09:49 +0000
Subject: [PATCH] thread.c: reduce rb_mutex_t size by 8 bytes on x86_64

gcc can pack the structure better when both 32-bit fields
are next to each other.
---
 thread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/thread.c b/thread.c
index ef869c6..38a47c8 100644
--- a/thread.c
+++ b/thread.c
@@ -390,8 +390,8 @@ typedef struct rb_mutex_struct
     rb_nativethread_lock_t lock;
     rb_nativethread_cond_t cond;
     struct rb_thread_struct volatile *th;
-    int cond_waiting;
     struct rb_mutex_struct *next_mutex;
+    int cond_waiting;
     int allow_trap;
 } rb_mutex_t;
 
-- 
1.8.3.2.701.g8c4e4ec

