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/mips | |
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/mips')
-rw-r--r-- | sys/mips/include/param.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/mips/include/param.h b/sys/mips/include/param.h index 0b1ea98..5f25c81 100644 --- a/sys/mips/include/param.h +++ b/sys/mips/include/param.h @@ -87,7 +87,9 @@ #ifdef SMP #define MAXSMPCPU 32 +#ifndef MAXCPU #define MAXCPU MAXSMPCPU +#endif #else #define MAXSMPCPU 1 #define MAXCPU 1 |