diff options
author | John Birrell <jb@FreeBSD.org> | 2008-03-27 05:03:26 +0000 |
---|---|---|
committer | John Birrell <jb@FreeBSD.org> | 2008-03-27 05:03:26 +0000 |
commit | e483943791c5e44918441b32580765ceef74a82c (patch) | |
tree | fab7e3c1d8d06e5b21f4fddec18bc48b6708d26f /sys/ia64 | |
parent | 97dbe5e48ee458137257e952004b1cd700d387ba (diff) | |
download | src-e483943791c5e44918441b32580765ceef74a82c.tar.gz src-e483943791c5e44918441b32580765ceef74a82c.zip |
When building a kernel module, define MAXCPU the same as SMP so
that modules work with and without SMP.
Notes
Notes:
svn path=/head/; revision=177661
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 c71c6e5a7bf3..acea69007d2b 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 |