summaryrefslogtreecommitdiff
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 6a2018eab0d8..549e0b9da24f 100644
--- a/sys/powerpc/include/param.h
+++ b/sys/powerpc/include/param.h
@@ -67,8 +67,8 @@
#endif
#define MID_MACHINE MID_POWERPC
-#ifdef SMP
-#define MAXCPU 2
+#if defined(SMP) || defined(KLD_MODULE)
+#define MAXCPU 2
#else
#define MAXCPU 1
#endif /* SMP */