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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sun4v/include/param.h b/sys/sun4v/include/param.h
index 6e1d389b304c..0ac9c9b793ab 100644
--- a/sys/sun4v/include/param.h
+++ b/sys/sun4v/include/param.h
@@ -59,11 +59,11 @@
#endif
#define MID_MACHINE MID_SPARC64
-#ifdef SMP
+#if defined(SMP) || defined(KLD_MODULE)
#define MAXCPU 32
#else
#define MAXCPU 1
-#endif /* SMP */
+#endif /* SMP || KLD_MODULE */
#define INT_SHIFT 2
#define PTR_SHIFT 3