summaryrefslogtreecommitdiff
path: root/arch/um/Kconfig.common
diff options
context:
space:
mode:
authorNikola Kotur <kotnick@gmail.com>2017-03-02 16:16:40 +0300
committerRichard Weinberger <richard@nod.at>2017-05-03 23:33:52 +0300
commit8bba077066d6d0a135b7be1970691522075bf905 (patch)
treecde2906e91eaf20bbfcde3a161abe9a24346f3c0 /arch/um/Kconfig.common
parentecb6c7435f25d6a11fa9d14f407d00286f9642b9 (diff)
downloadlinux-8bba077066d6d0a135b7be1970691522075bf905.tar.xz
um: Set number of CPUs
Define NR_CPUS required by the timer subsystem. Fixes this make warning: scripts/kconfig/conf --oldconfig arch/x86/um/Kconfig kernel/time/Kconfig:155:warning: range is invalid Signed-off-by: Nikola Kotur <kotnick@gmail.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/Kconfig.common')
-rw-r--r--arch/um/Kconfig.common5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/um/Kconfig.common b/arch/um/Kconfig.common
index fd443852103c..347bcd444c99 100644
--- a/arch/um/Kconfig.common
+++ b/arch/um/Kconfig.common
@@ -62,3 +62,8 @@ config HZ
config SUBARCH
string
option env="SUBARCH"
+
+config NR_CPUS
+ int
+ range 1 1
+ default 1