mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
Kernel/aarch64: Use adopt_lock_ref to instantiate an InterruptController
This commit is contained in:
parent
dd6e70afd6
commit
66bde66f49
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ void InterruptManagement::initialize()
|
|||
void InterruptManagement::find_controllers()
|
||||
{
|
||||
// TODO: Once device tree support is in place, find interrupt controllers using that.
|
||||
m_interrupt_controllers.append(new RPi::InterruptController);
|
||||
m_interrupt_controllers.append(adopt_lock_ref(*new (nothrow) RPi::InterruptController));
|
||||
}
|
||||
|
||||
u8 InterruptManagement::acquire_mapped_interrupt_number(u8 interrupt_number)
|
||||
|
|
Loading…
Add table
Reference in a new issue