[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1467131978-669-22-git-send-email-ynorov@caviumnetworks.com>
Date: Tue, 28 Jun 2016 19:39:36 +0300
From: Yury Norov <ynorov@...iumnetworks.com>
To: <libc-alpha@...rceware.org>, <linux-kernel@...r.kernel.org>
CC: <arnd@...db.de>, <catalin.marinas@....com>,
<marcus.shawcroft@....com>, <philb@....org>, <davem@...emloft.net>,
<szabolcs.nagy@....com>, <maxim.kuvyrkov@...aro.org>,
<joseph@...esourcery.com>, <pinskia@...il.com>,
<bamvor.zhangjian@...wei.com>, <schwab@...e.de>,
<fweimer@...hat.com>, <Prasun.Kapoor@...ium.com>,
<cmetcalf@...lanox.com>, <hjl.tools@...il.com>,
<adhemerval.zanella@...aro.org>,
Yury Norov <ynorov@...iumnetworks.com>
Subject: [PATCH 21/23] [AARCH64] Make __SIZEOF_SEM_T 16 for ILP32
Signed-off-by: Yury Norov <ynorov@...iumnetworks.com>
---
sysdeps/aarch64/nptl/bits/semaphore.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sysdeps/aarch64/nptl/bits/semaphore.h b/sysdeps/aarch64/nptl/bits/semaphore.h
index 3cc5b37..1d1389c 100644
--- a/sysdeps/aarch64/nptl/bits/semaphore.h
+++ b/sysdeps/aarch64/nptl/bits/semaphore.h
@@ -21,7 +21,11 @@
#endif
+#ifdef __ILP32__
+#define __SIZEOF_SEM_T 16
+#else
#define __SIZEOF_SEM_T 32
+#endif
/* Value returned if `sem_open' failed. */
--
2.7.4
Powered by blists - more mailing lists