x86/boot: properly "ignore" early evaluated "no-real-mode"

The option parser takes off "no-" prefixes before matching, so they also
shouldn't be specified to match against.

Fixes: e44d986084 ("x86/setup: Ignore early boot parameters like no-real-mode")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
Jan Beulich committed 2021-09-15 11:01:29 +02:00
1 parent 0a7ebb1861
commit e5046fc6e9
1 file changed
+1 -1
+1 -1
View File
@@ -692,7 +692,7 @@ static void __init noreturn reinit_bsp_stack(void)
* has options that are only used during the very initial boot process,
* so they can be ignored now.
*/
ignore_param("no-real-mode");
ignore_param("real-mode");
ignore_param("edd");
ignore_param("edid");
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.