mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +00:00
Kernel: Rename SpinLock => Spinlock
This commit is contained in:
parent
7d5d26b048
commit
55adace359
110 changed files with 491 additions and 491 deletions
|
@ -59,7 +59,7 @@ KResultOr<size_t> SerialDevice::read(FileDescription&, u64, UserOrKernelBuffer&
|
|||
if (!size)
|
||||
return 0;
|
||||
|
||||
ScopedSpinLock lock(m_serial_lock);
|
||||
ScopedSpinlock lock(m_serial_lock);
|
||||
if (!(get_line_status() & DataReady))
|
||||
return 0;
|
||||
|
||||
|
@ -80,7 +80,7 @@ KResultOr<size_t> SerialDevice::write(FileDescription& description, u64, const U
|
|||
if (!size)
|
||||
return 0;
|
||||
|
||||
ScopedSpinLock lock(m_serial_lock);
|
||||
ScopedSpinlock lock(m_serial_lock);
|
||||
if (!can_write(description, size))
|
||||
return EAGAIN;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue