From a0356a0302571774b5c22f581454869f4283a5e6 Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Fri, 28 Apr 2023 11:03:46 +0200 Subject: [PATCH] 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 8944ca830f0. --- Kernel/Arch/aarch64/Interrupts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/Arch/aarch64/Interrupts.cpp b/Kernel/Arch/aarch64/Interrupts.cpp index d05ce2bf02..d1b15af2bb 100644 --- a/Kernel/Arch/aarch64/Interrupts.cpp +++ b/Kernel/Arch/aarch64/Interrupts.cpp @@ -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(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(handler_slot); shared_handler->unregister_handler(handler);