From 64bf7fcf58ced023be1701ed4508e38f746d40b8 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 16 Mar 2026 08:34:13 +0100 Subject: kernel/memory: implement basic free-list heap --- libs/kstd/include/kstd/mutex | 3 --- 1 file changed, 3 deletions(-) (limited to 'libs') diff --git a/libs/kstd/include/kstd/mutex b/libs/kstd/include/kstd/mutex index 7795558..b2a31aa 100644 --- a/libs/kstd/include/kstd/mutex +++ b/libs/kstd/include/kstd/mutex @@ -66,7 +66,6 @@ namespace kstd //! //! @note This function will block until the mutex was successfully locked. //! @param mutex The mutex to lock. - [[gnu::section(".stl_text")]] lock_guard(MutexType & mutex) noexcept : m_mutex(mutex) { @@ -77,13 +76,11 @@ namespace kstd //! //! @note The behavior is undefined if the mutex is not owned by the current thread. //! @param mutex The mutex to take ownership of. - [[gnu::section(".stl_text")]] lock_guard(MutexType & mutex, adopt_lock_t) noexcept : m_mutex(mutex) {} //! Destroy this lock_guard and release the owned mutex. - [[gnu::section(".stl_text")]] ~lock_guard() { m_mutex.unlock(); -- cgit v1.2.3