aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include
diff options
context:
space:
mode:
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