hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/firmware/efi/efi.c
....@@ -66,7 +66,7 @@
6666
6767 struct workqueue_struct *efi_rts_wq;
6868
69
-static bool disable_runtime = IS_ENABLED(CONFIG_PREEMPT_RT);
69
+static bool disable_runtime;
7070 static int __init setup_noefi(char *arg)
7171 {
7272 disable_runtime = true;
....@@ -96,9 +96,6 @@
9696
9797 if (parse_option_str(str, "noruntime"))
9898 disable_runtime = true;
99
-
100
- if (parse_option_str(str, "runtime"))
101
- disable_runtime = false;
10299
103100 if (parse_option_str(str, "nosoftreserve"))
104101 set_bit(EFI_MEM_NO_SOFT_RESERVE, &efi.flags);