lkml.org 
[lkml]   [2016]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 21/23] [AARCH64] Make __SIZEOF_SEM_T 16 for ILP32
Date
Signed-off-by: Yury Norov <ynorov@caviumnetworks.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
\
 
 \ /
  Last update: 2016-06-28 19:21    [W:0.351 / U:0.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site