aboutsummaryrefslogtreecommitdiff
path: root/sys/sun4v/include/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sun4v/include/param.h')
-rw-r--r--sys/sun4v/include/param.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sun4v/include/param.h b/sys/sun4v/include/param.h
index 6e1d389b304c..a4fe98d3cf7b 100644
--- a/sys/sun4v/include/param.h
+++ b/sys/sun4v/include/param.h
@@ -59,7 +59,7 @@
#endif
#define MID_MACHINE MID_SPARC64
-#ifdef SMP
+#if defined(SMP) || defined(KLD_MODULE)
#define MAXCPU 32
#else
#define MAXCPU 1