mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:27:35 +00:00
Kernel/aarch64: Fix build after is_sharing_with_others
API removal
This commit fixes the build after the removal of
`GenericInterruptHandler::is_sharing_with_others` in 8944ca830f
.
This commit is contained in:
parent
41cf52a623
commit
a0356a0302
1 changed files with 2 additions and 2 deletions
|
@ -166,7 +166,7 @@ void register_generic_interrupt_handler(u8 interrupt_number, GenericInterruptHan
|
|||
handler_slot = &handler;
|
||||
return;
|
||||
}
|
||||
if (handler_slot->is_shared_handler() && !handler_slot->is_sharing_with_others()) {
|
||||
if (handler_slot->is_shared_handler()) {
|
||||
VERIFY(handler_slot->type() == HandlerType::SharedIRQHandler);
|
||||
static_cast<SharedIRQHandler*>(handler_slot)->register_handler(handler);
|
||||
return;
|
||||
|
@ -194,7 +194,7 @@ void unregister_generic_interrupt_handler(u8 interrupt_number, GenericInterruptH
|
|||
VERIFY(handler_slot != nullptr);
|
||||
if (handler_slot->type() == HandlerType::UnhandledInterruptHandler)
|
||||
return;
|
||||
if (handler_slot->is_shared_handler() && !handler_slot->is_sharing_with_others()) {
|
||||
if (handler_slot->is_shared_handler()) {
|
||||
VERIFY(handler_slot->type() == HandlerType::SharedIRQHandler);
|
||||
auto* shared_handler = static_cast<SharedIRQHandler*>(handler_slot);
|
||||
shared_handler->unregister_handler(handler);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue