diff options
author | Tom <tomut@yahoo.com> | 2020-12-02 09:41:52 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-02 23:19:59 +0100 |
commit | 5e08ae4e14009d40ecd5f5428c6801eaeeffd125 (patch) | |
tree | 5271e3f26c8cc69b4815a9dd66ff1ac1ad291eda /Kernel/Devices/AsyncDeviceRequest.h | |
parent | aec8983819fa0cd23ce251f91305a8c2cb4450dc (diff) | |
download | serenity-5e08ae4e14009d40ecd5f5428c6801eaeeffd125.zip |
Kernel: Fix counting interrupts
Move counting interrupts out of the handle_interrupt method so that
it is done in all cases without the interrupt handler having to
implement it explicitly.
Also make the counter an atomic value as e.g. the LocalAPIC interrupts
may be triggered on multiple processors simultaneously.
Fixes #4297
Diffstat (limited to 'Kernel/Devices/AsyncDeviceRequest.h')
0 files changed, 0 insertions, 0 deletions