Module Name: src
Committed By: martin
Date: Fri Apr 15 20:29:13 UTC 2016
Modified Files:
src/sys/arch/sparc64/include: param.h
Log Message:
If compiling with SUN4V support, bump MAXCPUS to 256.
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/arch/sparc64/include/param.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/arch/sparc64/include/param.h
diff -u src/sys/arch/sparc64/include/param.h:1.56 src/sys/arch/sparc64/include/param.h:1.57
--- src/sys/arch/sparc64/include/param.h:1.56 Tue Oct 27 22:28:56 2015
+++ src/sys/arch/sparc64/include/param.h Fri Apr 15 20:29:13 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.56 2015/10/27 22:28:56 mrg Exp $ */
+/* $NetBSD: param.h,v 1.57 2016/04/15 20:29:13 martin Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -108,6 +108,11 @@ extern int nbpg, pgofset, pgshift;
#define MAXPHYS (64 * 1024)
#ifdef __arch64__
+
+#ifdef SUN4V
+#define MAXCPUS 256
+#endif
+
/* We get stack overflows w/8K stacks in 64-bit mode */
#define SSIZE 2 /* initial stack size in pages */
#else