diff options
author | Jesper Nilsson <jespern@axis.com> | 2015-01-15 11:30:40 -0500 |
---|---|---|
committer | Jesper Nilsson <jespern@axis.com> | 2015-01-29 04:10:08 -0500 |
commit | dd82094cced036801d56bf4e1f64f83f210475ee (patch) | |
tree | 088693ce10a4196d2fe987d58e5dba68bdb0f129 | |
parent | 00c5794d2df7a8586d4c1dc11c54ea5714fbe17f (diff) |
CRIS: Fix missing NR_CPUS in menuconfig
The time Kconfig expects that NR_CPUS is defined.
This patch removes this config warning:
"kernel/time/Kconfig:163:warning: range is invalid"
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
-rw-r--r-- | arch/cris/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig index 52731e221851..4a03911053ab 100644 --- a/arch/cris/Kconfig +++ b/arch/cris/Kconfig | |||
@@ -57,6 +57,10 @@ config HZ | |||
57 | int | 57 | int |
58 | default 100 | 58 | default 100 |
59 | 59 | ||
60 | config NR_CPUS | ||
61 | int | ||
62 | default "1" | ||
63 | |||
60 | source "init/Kconfig" | 64 | source "init/Kconfig" |
61 | 65 | ||
62 | source "kernel/Kconfig.freezer" | 66 | source "kernel/Kconfig.freezer" |