aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2024-12-03 08:52:59 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2024-12-03 08:52:59 +0000
commit6dff0ff5bcdd63de4a68f9c361acd0bace39b5ca (patch)
tree8497511077cfdd923d2a9e9523d215ea1471c7f4 /arch/x86_64/include
parent0a531eaa43cdd6ab15e60da2f4b203505265f5c6 (diff)
downloadteachos-6dff0ff5bcdd63de4a68f9c361acd0bace39b5ca.tar.xz
teachos-6dff0ff5bcdd63de4a68f9c361acd0bace39b5ca.zip
Fix minor typos in mutex
Diffstat (limited to 'arch/x86_64/include')
-rw-r--r--arch/x86_64/include/arch/shared/mutex.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/x86_64/include/arch/shared/mutex.hpp b/arch/x86_64/include/arch/shared/mutex.hpp
index ecd4490..33e9e17 100644
--- a/arch/x86_64/include/arch/shared/mutex.hpp
+++ b/arch/x86_64/include/arch/shared/mutex.hpp
@@ -1,5 +1,5 @@
-#ifndef TEACHOS_ARCH_X86_64_MUTEX_HPP
-#define TEACHOS_ARCH_X86_64_MUTEX_HPP
+#ifndef TEACHOS_ARCH_X86_64_SHARED_MUTEX_HPP
+#define TEACHOS_ARCH_X86_64_SHARED_MUTEX_HPP
#include <atomic>
@@ -52,4 +52,5 @@ namespace teachos::arch::shared
std::atomic<bool> locked = {false}; // Atomic boolean to track if mutex is locked or not.
};
} // namespace teachos::arch::shared
-#endif // TEACHOS_ARCH_X86_64_MUTEX_HPP \ No newline at end of file
+
+#endif // TEACHOS_ARCH_X86_64_SHARED_MUTEX_HPP