summaryrefslogtreecommitdiff
path: root/Kernel/PCI
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-08 13:54:44 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-08 17:19:46 +0200
commita7bbfda034562b4da80c2561c5dbd4b8c591c838 (patch)
tree6750df43672ee21bdc818ae56a63185a24bc5d61 /Kernel/PCI
parentdc7340332d94a9e0716ebe7e7d3fcfd6fe4fca13 (diff)
downloadserenity-a7bbfda034562b4da80c2561c5dbd4b8c591c838.zip
Kernel: Rename KParams => Kernel::CommandLine
Let's make this read more like English.
Diffstat (limited to 'Kernel/PCI')
-rw-r--r--Kernel/PCI/Initializer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/PCI/Initializer.cpp b/Kernel/PCI/Initializer.cpp
index 2d7feb5732..73e601b814 100644
--- a/Kernel/PCI/Initializer.cpp
+++ b/Kernel/PCI/Initializer.cpp
@@ -25,7 +25,7 @@
*/
#include <Kernel/ACPI/ACPIParser.h>
-#include <Kernel/KParams.h>
+#include <Kernel/CommandLine.h>
#include <Kernel/Net/E1000NetworkAdapter.h>
#include <Kernel/Net/RTL8139NetworkAdapter.h>
#include <Kernel/PCI/IOAccess.h>
@@ -100,7 +100,7 @@ PCI::Initializer::Initializer()
}
bool PCI::Initializer::test_acpi()
{
- if ((KParams::the().has("noacpi")) || !ACPI::Parser::the().is_operable())
+ if ((kernel_command_line().contains("noacpi")) || !ACPI::Parser::the().is_operable())
return false;
else
return true;