Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/include If compiling with SUN4V support, bu...



details:   https://anonhg.NetBSD.org/src/rev/d869cdf7d4b2
branches:  trunk
changeset: 344755:d869cdf7d4b2
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Apr 15 20:29:13 2016 +0000

description:
If compiling with SUN4V support, bump MAXCPUS to 256.

diffstat:

 sys/arch/sparc64/include/param.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 9041dfa38937 -r d869cdf7d4b2 sys/arch/sparc64/include/param.h
--- a/sys/arch/sparc64/include/param.h  Fri Apr 15 20:00:13 2016 +0000
+++ b/sys/arch/sparc64/include/param.h  Fri Apr 15 20:29:13 2016 +0000
@@ -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 @@
 #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



Home | Main Index | Thread Index | Old Index