diff options
Diffstat (limited to 'Kernel/Memory/RingBuffer.h')
-rw-r--r-- | Kernel/Memory/RingBuffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Memory/RingBuffer.h b/Kernel/Memory/RingBuffer.h index 8a748e4b65..58e4208a38 100644 --- a/Kernel/Memory/RingBuffer.h +++ b/Kernel/Memory/RingBuffer.h @@ -10,7 +10,7 @@ #include <Kernel/PhysicalAddress.h> #include <Kernel/UserOrKernelBuffer.h> -namespace Kernel { +namespace Kernel::Memory { class RingBuffer { public: @@ -30,7 +30,7 @@ public: size_t bytes_till_end() const { return (m_capacity_in_bytes - ((m_start_of_used + m_num_used_bytes) % m_capacity_in_bytes)) % m_capacity_in_bytes; }; private: - OwnPtr<Region> m_region; + OwnPtr<Memory::Region> m_region; SpinLock<u8> m_lock; size_t m_start_of_used {}; size_t m_num_used_bytes {}; |