diff options
author | jb <jb@FreeBSD.org> | 2008-03-27 05:03:26 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 2008-03-27 05:03:26 +0000 |
commit | 34e730ca273d9bd38d9081bc80c78688c6abdd4c (patch) | |
tree | fab7e3c1d8d06e5b21f4fddec18bc48b6708d26f /sys/ia64 | |
parent | 2a244be0948ebf54f47b701a69bdc0acbc452299 (diff) | |
download | FreeBSD-src-34e730ca273d9bd38d9081bc80c78688c6abdd4c.zip FreeBSD-src-34e730ca273d9bd38d9081bc80c78688c6abdd4c.tar.gz |
When building a kernel module, define MAXCPU the same as SMP so
that modules work with and without SMP.
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/include/param.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/include/param.h b/sys/ia64/include/param.h index c71c6e5..acea690 100644 --- a/sys/ia64/include/param.h +++ b/sys/ia64/include/param.h @@ -78,7 +78,7 @@ #define MACHINE_ARCH "ia64" #endif -#ifdef SMP +#if defined(SMP) || defined(KLD_MODULE) #define MAXCPU 4 #else #define MAXCPU 1 |