summaryrefslogtreecommitdiff
path: root/Kernel/Devices/Device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/Device.cpp')
-rw-r--r--Kernel/Devices/Device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/Device.cpp b/Kernel/Devices/Device.cpp
index 2689dfeec8..4880f332f3 100644
--- a/Kernel/Devices/Device.cpp
+++ b/Kernel/Devices/Device.cpp
@@ -62,7 +62,7 @@ String Device::absolute_path(const FileDescription&) const
void Device::process_next_queued_request(Badge<AsyncDeviceRequest>, const AsyncDeviceRequest& completed_request)
{
- ScopedSpinlock lock(m_requests_lock);
+ SpinlockLocker lock(m_requests_lock);
VERIFY(!m_requests.is_empty());
VERIFY(m_requests.first().ptr() == &completed_request);
m_requests.remove(m_requests.begin());