diff options
author | attilio <attilio@FreeBSD.org> | 2011-07-19 00:37:24 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2011-07-19 00:37:24 +0000 |
commit | a73e834ebb2ee705e131501fdea63d05aadae527 (patch) | |
tree | 05f7da2af94ce8adb51cef94323beaa68ef121a7 /sys/amd64 | |
parent | f3caef077b39887e5b737c600ec46379c99b7dc0 (diff) | |
download | FreeBSD-src-a73e834ebb2ee705e131501fdea63d05aadae527.zip FreeBSD-src-a73e834ebb2ee705e131501fdea63d05aadae527.tar.gz |
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)
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/include/param.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/include/param.h b/sys/amd64/include/param.h index 9a742f9..74d4d21 100644 --- a/sys/amd64/include/param.h +++ b/sys/amd64/include/param.h @@ -64,7 +64,9 @@ #endif #if defined(SMP) || defined(KLD_MODULE) +#ifndef MAXCPU #define MAXCPU 32 +#endif #else #define MAXCPU 1 #endif |