Kernel: Unbreak /proc/interrupts when running with APIC

We can't assert here since these are exposed through /proc JSON.
This commit is contained in:
Andreas Kling 2020-10-18 14:37:27 +02:00
parent c7a13b7a74
commit af20b9424f
Notes: sideshowbarker 2024-07-19 01:51:44 +09:00

View File

@ -92,7 +92,7 @@ public:
virtual HandlerType type() const override { return HandlerType::IRQHandler; }
virtual const char* purpose() const override { return "IPI Handler"; }
virtual const char* controller() const override { ASSERT_NOT_REACHED(); }
virtual const char* controller() const override { return nullptr; }
virtual size_t sharing_devices_count() const override { return 0; }
virtual bool is_shared_handler() const override { return false; }
@ -122,7 +122,7 @@ public:
virtual HandlerType type() const override { return HandlerType::IRQHandler; }
virtual const char* purpose() const override { return "SMP Error Handler"; }
virtual const char* controller() const override { ASSERT_NOT_REACHED(); }
virtual const char* controller() const override { return nullptr; }
virtual size_t sharing_devices_count() const override { return 0; }
virtual bool is_shared_handler() const override { return false; }