summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/include/param.h')
-rw-r--r--sys/powerpc/include/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/include/param.h b/sys/powerpc/include/param.h
index 6a2018e..1b58db9 100644
--- a/sys/powerpc/include/param.h
+++ b/sys/powerpc/include/param.h
@@ -67,11 +67,11 @@
#endif
#define MID_MACHINE MID_POWERPC
-#ifdef SMP
+#if defined(SMP) || defined(KLD_MODULE)
#define MAXCPU 2
#else
#define MAXCPU 1
-#endif /* SMP */
+#endif /* SMP || KLD_MODULE */
#define ALIGNBYTES _ALIGNBYTES
#define ALIGN(p) _ALIGN(p)
OpenPOWER on IntegriCloud