Change "smp" boot option to "nosmp".

SMP is now enabled by default, so we need an option to disable it.
This commit is contained in:
Martin Whitaker 2022-05-04 22:16:14 +01:00
parent eaf29f1e39
commit 7b41830c40
2 changed files with 4 additions and 4 deletions

View File

@ -120,8 +120,8 @@ option consists of an option name, optionally followed by an `=` sign and
one or more parameters, separated by commas. The following options are
recognised:
* smp
* enables the use of multiple CPU cores at startup
* nosmp
* disables ACPI table parsing and the use of multiple CPU cores
* nosm
* disables SMBUS/SPD parsing, DMI decoding and memory benchmark
* nopause

View File

@ -187,8 +187,8 @@ static void parse_option(const char *option, const char *params)
usb_init_options |= USB_IGNORE_EHCI;
} else if (strncmp(option, "nopause", 8) == 0) {
pause_at_start = false;
} else if (strncmp(option, "smp", 4) == 0) {
smp_enabled = true;
} else if (strncmp(option, "nosmp", 6) == 0) {
smp_enabled = false;
} else if (strncmp(option, "trace", 6) == 0) {
enable_trace = true;
} else if (strncmp(option, "usbdebug", 9) == 0) {