aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/include/param.h
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>2008-03-27 05:03:26 +0000
committerJohn Birrell <jb@FreeBSD.org>2008-03-27 05:03:26 +0000
commite483943791c5e44918441b32580765ceef74a82c (patch)
treefab7e3c1d8d06e5b21f4fddec18bc48b6708d26f /sys/powerpc/include/param.h
parent97dbe5e48ee458137257e952004b1cd700d387ba (diff)
Notes
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..1b58db92805a 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)