mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
Kernel/aarch64: Move ifdef in StorageManagement.cpp
The recent changes of removing i386 broke the aarch64 build, and moving the ifdef fixes the aarch64 build.
This commit is contained in:
parent
e9b4e07b0a
commit
51b69be970
Notes:
sideshowbarker
2024-07-17 02:27:27 +09:00
Author: https://github.com/FireFox317
Commit: 51b69be970
Pull-request: https://github.com/SerenityOS/serenity/pull/16690
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/nico ✅
1 changed files with 1 additions and 1 deletions
|
@ -102,8 +102,8 @@ UNMAP_AFTER_INIT void StorageManagement::enumerate_pci_controllers(bool force_pi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if ARCH(X86_64)
|
|
||||||
auto subclass_code = static_cast<SubclassID>(device_identifier.subclass_code().value());
|
auto subclass_code = static_cast<SubclassID>(device_identifier.subclass_code().value());
|
||||||
|
#if ARCH(X86_64)
|
||||||
if (subclass_code == SubclassID::IDEController && kernel_command_line().is_ide_enabled()) {
|
if (subclass_code == SubclassID::IDEController && kernel_command_line().is_ide_enabled()) {
|
||||||
m_controllers.append(PCIIDELegacyModeController::initialize(device_identifier, force_pio));
|
m_controllers.append(PCIIDELegacyModeController::initialize(device_identifier, force_pio));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue