Module Name:    src
Committed By:   rin
Date:           Mon Apr 27 02:54:42 UTC 2020

Modified Files:
        src/sys/sys: futex.h

Log Message:
Expose _FUTEX_ROBUST_HEAD_SIZE32 for !LP64; fix COMPAT_NETBSD32 for arm.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/sys/futex.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/futex.h
diff -u src/sys/sys/futex.h:1.1 src/sys/sys/futex.h:1.2
--- src/sys/sys/futex.h:1.1	Sun Apr 26 18:53:33 2020
+++ src/sys/sys/futex.h	Mon Apr 27 02:54:42 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: futex.h,v 1.1 2020/04/26 18:53:33 thorpej Exp $	*/
+/*	$NetBSD: futex.h,v 1.2 2020/04/27 02:54:42 rin Exp $	*/
 
 /*-
  * Copyright (c) 2018, 2019 The NetBSD Foundation, Inc.
@@ -154,10 +154,8 @@
 #define _FUTEX_ROBUST_HEAD_NWORDS	3
 #define _FUTEX_ROBUST_HEAD_SIZE		(_FUTEX_ROBUST_HEAD_NWORDS * \
 					 sizeof(u_long))
-#ifdef _LP64
 #define _FUTEX_ROBUST_HEAD_SIZE32	(_FUTEX_ROBUST_HEAD_NWORDS * \
 					 sizeof(uint32_t))
-#endif /* _LP64 */
 #define	_FUTEX_ROBUST_ENTRY_PI		__BIT(0)
 
 #ifdef __LIBC_FUTEX_PRIVATE

Reply via email to