Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/include Revert previous changes, gcc configurat...
details: https://anonhg.NetBSD.org/src/rev/23e40ca96357
branches: trunk
changeset: 331550:23e40ca96357
user: martin <martin%NetBSD.org@localhost>
date: Thu Aug 14 11:28:13 2014 +0000
description:
Revert previous changes, gcc configuration will be adapted instead.
diffstat:
sys/arch/vax/include/int_fmtio.h | 6 +++---
sys/arch/vax/include/mutex.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r c499106bf22e -r 23e40ca96357 sys/arch/vax/include/int_fmtio.h
--- a/sys/arch/vax/include/int_fmtio.h Thu Aug 14 09:17:32 2014 +0000
+++ b/sys/arch/vax/include/int_fmtio.h Thu Aug 14 11:28:13 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_fmtio.h,v 1.6 2014/08/14 09:17:32 martin Exp $ */
+/* $NetBSD: int_fmtio.h,v 1.7 2014/08/14 11:28:13 martin Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
#define PRIiFAST32 "i" /* int_fast32_t */
#define PRIiFAST64 "lli" /* int_fast64_t */
#define PRIiMAX "lli" /* intmax_t */
-#define PRIiPTR "i" /* intptr_t */
+#define PRIiPTR "li" /* intptr_t */
/* fprintf macros for unsigned integers */
@@ -101,7 +101,7 @@
#define PRIuFAST32 "u" /* uint_fast32_t */
#define PRIuFAST64 "llu" /* uint_fast64_t */
#define PRIuMAX "llu" /* uintmax_t */
-#define PRIuPTR "u" /* uintptr_t */
+#define PRIuPTR "lu" /* uintptr_t */
#define PRIx8 "x" /* uint8_t */
#define PRIx16 "x" /* uint16_t */
diff -r c499106bf22e -r 23e40ca96357 sys/arch/vax/include/mutex.h
--- a/sys/arch/vax/include/mutex.h Thu Aug 14 09:17:32 2014 +0000
+++ b/sys/arch/vax/include/mutex.h Thu Aug 14 11:28:13 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mutex.h,v 1.13 2014/08/14 09:02:18 martin Exp $ */
+/* $NetBSD: mutex.h,v 1.14 2014/08/14 11:28:13 martin Exp $ */
/*-
* Copyright (c) 2002, 2007 The NetBSD Foundation, Inc.
@@ -82,7 +82,7 @@
*/
#define MUTEX_GIVE(mtx) /* nothing */
-#define MUTEX_CAS(p, o, n) (atomic_cas_uint((p), (o), (n)) == (o))
+#define MUTEX_CAS(p, o, n) (atomic_cas_ulong((p), (o), (n)) == (o))
#endif /* __MUTEX_PRIVATE */
Home |
Main Index |
Thread Index |
Old Index