diff options
author | Attilio Rao <attilio@FreeBSD.org> | 2011-07-19 00:37:24 +0000 |
---|---|---|
committer | Attilio Rao <attilio@FreeBSD.org> | 2011-07-19 00:37:24 +0000 |
commit | 68b739cd6f5af9b2f4f03fe7bb9627dee6e03c42 (patch) | |
tree | 05f7da2af94ce8adb51cef94323beaa68ef121a7 /sys/ia64/include/param.h | |
parent | fcc3d62fa50d0433048a71d54e385ef75ec06011 (diff) | |
download | src-68b739cd6f5af9b2f4f03fe7bb9627dee6e03c42.tar.gz src-68b739cd6f5af9b2f4f03fe7bb9627dee6e03c42.zip |
Add the possibility to specify from kernel configs MAXCPU value.
This patch is going to help in cases like mips flavours where you
want a more granular support on MAXCPU.
No MFC is previewed for this patch.
Tested by: pluknet
Approved by: re (kib)
Notes
Notes:
svn path=/head/; revision=224207
Diffstat (limited to 'sys/ia64/include/param.h')
-rw-r--r-- | sys/ia64/include/param.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ia64/include/param.h b/sys/ia64/include/param.h index 36b27e048903..a3684ab09e3e 100644 --- a/sys/ia64/include/param.h +++ b/sys/ia64/include/param.h @@ -62,7 +62,9 @@ #endif #if defined(SMP) || defined(KLD_MODULE) +#ifndef MAXCPU #define MAXCPU 32 +#endif #else #define MAXCPU 1 #endif |