summaryrefslogtreecommitdiff
path: root/Kernel/Interrupts/SharedIRQHandler.cpp
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2020-08-27 00:32:56 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-30 09:43:49 +0200
commiteac3bbdcee331ffcdc585d3bc0c7491a9782cfb2 (patch)
tree23f96d51def70ffc251d8c6c111ce418dc3d4ec9 /Kernel/Interrupts/SharedIRQHandler.cpp
parent8c1888811f936e6e0ab5d0e1ec423c0afeb20c42 (diff)
downloadserenity-eac3bbdcee331ffcdc585d3bc0c7491a9782cfb2.zip
Kernel: Unbreak building with extra debug macros, part 1
Diffstat (limited to 'Kernel/Interrupts/SharedIRQHandler.cpp')
-rw-r--r--Kernel/Interrupts/SharedIRQHandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Interrupts/SharedIRQHandler.cpp b/Kernel/Interrupts/SharedIRQHandler.cpp
index 32ff6cf044..59334012cd 100644
--- a/Kernel/Interrupts/SharedIRQHandler.cpp
+++ b/Kernel/Interrupts/SharedIRQHandler.cpp
@@ -42,7 +42,7 @@ void SharedIRQHandler::initialize(u8 interrupt_number)
void SharedIRQHandler::register_handler(GenericInterruptHandler& handler)
{
#ifdef INTERRUPT_DEBUG
- klog() << "Interrupt Handler registered @ Shared Interrupt Handler " << m_interrupt_number;
+ klog() << "Interrupt Handler registered @ Shared Interrupt Handler " << interrupt_number();
#endif
m_handlers.set(&handler);
enable_interrupt_vector();
@@ -50,7 +50,7 @@ void SharedIRQHandler::register_handler(GenericInterruptHandler& handler)
void SharedIRQHandler::unregister_handler(GenericInterruptHandler& handler)
{
#ifdef INTERRUPT_DEBUG
- klog() << "Interrupt Handler unregistered @ Shared Interrupt Handler " << m_interrupt_number;
+ klog() << "Interrupt Handler unregistered @ Shared Interrupt Handler " << interrupt_number();
#endif
m_handlers.remove(&handler);
if (m_handlers.is_empty())
@@ -71,7 +71,7 @@ SharedIRQHandler::SharedIRQHandler(u8 irq)
, m_responsible_irq_controller(InterruptManagement::the().get_responsible_irq_controller(irq))
{
#ifdef INTERRUPT_DEBUG
- klog() << "Shared Interrupt Handler registered @ " << m_interrupt_number;
+ klog() << "Shared Interrupt Handler registered @ " << interrupt_number();
#endif
disable_interrupt_vector();
}