Skip to content
Commit ead91d4b authored by Shai Fultheim's avatar Shai Fultheim Committed by Ingo Molnar
Browse files

x86/vsmp: Fix number of CPUs when vsmp is disabled



In case CONFIG_X86_VSMP is not set, limit the number of CPUs to
the number of CPUs of the first board.

Also make CONFIG_X86_VSMP depend on CONFIG_SMP, as there's
little point in having a vsmp machine with a single CPU.

Signed-off-by: default avatarShai Fultheim <shai@scalemp.com>
[ido@wizery.com: rebased, fixed minor coding-style issues]
Signed-off-by: default avatarIdo Yariv <ido@wizery.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent b2d0b7a0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment