diff options
author | Andreas Kling <kling@serenityos.org> | 2022-08-19 17:26:07 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-08-20 17:15:52 +0200 |
commit | e475263113387404e63cdc3666391934604eb6e7 (patch) | |
tree | 5d15d4f41a7811f58171b6e8bdd6ae014e2bea7d /Kernel/Storage/ATA/AHCI/Port.h | |
parent | 4889eb019a47478e50e1876f9584356e957e4ea4 (diff) | |
download | serenity-e475263113387404e63cdc3666391934604eb6e7.zip |
AK+Kernel: Add AK::AtomicRefCounted and use everywhere in the kernel
Instead of having two separate implementations of AK::RefCounted, one
for userspace and one for kernelspace, there is now RefCounted and
AtomicRefCounted.
Diffstat (limited to 'Kernel/Storage/ATA/AHCI/Port.h')
-rw-r--r-- | Kernel/Storage/ATA/AHCI/Port.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Storage/ATA/AHCI/Port.h b/Kernel/Storage/ATA/AHCI/Port.h index f551fb13c4..26c0939ec2 100644 --- a/Kernel/Storage/ATA/AHCI/Port.h +++ b/Kernel/Storage/ATA/AHCI/Port.h @@ -32,7 +32,7 @@ class AsyncBlockDeviceRequest; class AHCIInterruptHandler; class AHCIPort - : public RefCounted<AHCIPort> + : public AtomicRefCounted<AHCIPort> , public Weakable<AHCIPort> { friend class AHCIController; |