Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/include introduce PRIxCPUSET to deal with 32bi...
details: https://anonhg.NetBSD.org/src/rev/3cb583261119
branches: trunk
changeset: 338745:3cb583261119
user: macallan <macallan%NetBSD.org@localhost>
date: Sat Jun 06 17:45:49 2015 +0000
description:
introduce PRIxCPUSET to deal with 32bit __cpuset_t on o32
diffstat:
sys/arch/mips/include/types.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 649b4df0e860 -r 3cb583261119 sys/arch/mips/include/types.h
--- a/sys/arch/mips/include/types.h Sat Jun 06 17:36:50 2015 +0000
+++ b/sys/arch/mips/include/types.h Sat Jun 06 17:45:49 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.55 2015/03/29 12:00:02 macallan Exp $ */
+/* $NetBSD: types.h,v 1.56 2015/06/06 17:45:49 macallan Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -134,9 +134,11 @@
#if defined(__mips_o32)
typedef __uint32_t __cpuset_t;
#define __CPUSET_MAXNUMCPU 32
+#define PRIxCPUSET PRIx32
#else
typedef __uint64_t __cpuset_t;
#define __CPUSET_MAXNUMCPU 64
+#define PRIxCPUSET PRIx64
#endif
typedef volatile unsigned int __cpu_simple_lock_t;
Home |
Main Index |
Thread Index |
Old Index