summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/src/ThreadLocalStorage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/src/ThreadLocalStorage.cc')
-rw-r--r--src/kernel/src/ThreadLocalStorage.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/kernel/src/ThreadLocalStorage.cc b/src/kernel/src/ThreadLocalStorage.cc
index 4ed20ce5..aad7b9a5 100644
--- a/src/kernel/src/ThreadLocalStorage.cc
+++ b/src/kernel/src/ThreadLocalStorage.cc
@@ -14,8 +14,8 @@
///! @author Amlal El Mahrouss (amlal@nekernel.org)
/***********************************************************************************/
-using namespace Kernel;
-
+namespace Kernel {
+
/**
* @brief Checks for cookie inside the TIB.
* @param tib_ptr the TIB to check.
@@ -31,6 +31,8 @@ Boolean tls_check_tib(THREAD_INFORMATION_BLOCK* tib_ptr) {
tib_ptr->Cookie[kCookieMag2Idx] == kCookieMag2;
}
+} // namespace Kernel
+
/**
* @brief System call implementation of the TLS check.
* @param tib_ptr The TIB record.