mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00: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()
|
void InterruptManagement::find_controllers()
|
||||||
{
|
{
|
||||||
// TODO: Once device tree support is in place, find interrupt controllers using that.
|
// 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)
|
u8 InterruptManagement::acquire_mapped_interrupt_number(u8 interrupt_number)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue