mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:08:10 +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
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());
|
||||
#if ARCH(X86_64)
|
||||
if (subclass_code == SubclassID::IDEController && kernel_command_line().is_ide_enabled()) {
|
||||
m_controllers.append(PCIIDELegacyModeController::initialize(device_identifier, force_pio));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue