summaryrefslogtreecommitdiff
path: root/Kernel/Storage/ATA/AHCI/Port.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-08-19 17:26:07 +0200
committerAndreas Kling <kling@serenityos.org>2022-08-20 17:15:52 +0200
commite475263113387404e63cdc3666391934604eb6e7 (patch)
tree5d15d4f41a7811f58171b6e8bdd6ae014e2bea7d /Kernel/Storage/ATA/AHCI/Port.h
parent4889eb019a47478e50e1876f9584356e957e4ea4 (diff)
downloadserenity-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.h2
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;