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/powerpc/include | |
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/powerpc/include')
-rw-r--r-- | sys/powerpc/include/param.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/include/param.h b/sys/powerpc/include/param.h index 06b131c..f95cc08 100644 --- a/sys/powerpc/include/param.h +++ b/sys/powerpc/include/param.h @@ -68,7 +68,9 @@ #endif #if defined(SMP) || defined(KLD_MODULE) +#ifndef MAXCPU #define MAXCPU 8 +#endif #else #define MAXCPU 1 #endif /* SMP || KLD_MODULE */ |