Split out second part of patch-af and make it apply and work correctly.

Fixes PR pkg/7959.
This commit is contained in:
bad 1999-07-11 20:00:43 +00:00
parent f2cae02e0f
commit 70ac9c684a
3 changed files with 23 additions and 20 deletions

View file

@ -1,8 +1,9 @@
$NetBSD: patch-sum,v 1.1 1999/07/09 13:50:31 agc Exp $
$NetBSD: patch-sum,v 1.2 1999/07/11 20:00:43 bad Exp $
MD5 (patch-aa) = 1d70af90ce5d83575005c26a5b2ec04c
MD5 (patch-ab) = bd14b65459c105bf7c3c90117ba0f9e2
MD5 (patch-ac) = 435ba13b38ab12e79c8fcb80d91da669
MD5 (patch-ad) = c40ca1bdfd5fc3e78b78b989021ccb89
MD5 (patch-ae) = 78c62cd853376d18ff427b8a11f7b581
MD5 (patch-af) = 488885e030ed03dc488180d7bd50f09b
MD5 (patch-af) = c292166fbd98522459d388082329fb72
MD5 (patch-ag) = 314afa41b6fa073f6215f5dab6978074

View file

@ -1,4 +1,4 @@
$NetBSD: patch-af,v 1.4 1999/05/18 15:52:19 bad Exp $
$NetBSD: patch-af,v 1.5 1999/07/11 20:00:43 bad Exp $
*** include/storage/s_lock.h Sat Apr 10 19:43:01 1999
--- include/storage/s_lock.h Wed Apr 7 03:06:53 1999
@ -27,20 +27,3 @@ $NetBSD: patch-af,v 1.4 1999/05/18 15:52:19 bad Exp $
#if defined(sparc)
#define TAS(lock) tas(lock)
*** include/port/bsd.h Sat Apr 10 19:43:01 1999
--- include/port/bsd.h Wed Apr 7 03:31:22 1999
***************
*** 24,29 ****
--- 24,33 ----
#define HAS_TEST_AND_SET
#endif
+ #if defined(__arm32__)
+ #define HAS_TEST_AND_SET
+ #endif
+
#if defined(__powerpc__)
#define HAS_TEST_AND_SET
typedef unsigned int slock_t;

View file

@ -0,0 +1,19 @@
$NetBSD: patch-ag,v 1.3 1999/07/11 20:00:43 bad Exp $
--- include/port/bsd.h.orig Sun Jul 19 03:19:53 1998
+++ include/port/bsd.h Sun Jul 11 21:49:27 1999
@@ -24,6 +24,14 @@
#define HAS_TEST_AND_SET
#endif
+#if defined(__arm32__)
+#define HAS_TEST_AND_SET
+#endif
+
+#if defined(__powerpc__)
+#define HAS_TEST_AND_SET
+#endif
+
#if defined(__mips__)
/* # undef HAS_TEST_AND_SET */
#endif