summaryrefslogtreecommitdiff
path: root/Kernel/Lock.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-16 01:27:42 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-16 01:27:42 +0100
commita356e4815098e5398e103aa69865bd6c88f7ad36 (patch)
tree50437c6444405f12671bce7f04a8c1b10cff70f8 /Kernel/Lock.h
parentd42f0f46616168bdff492f880b3ea432a49f7345 (diff)
downloadserenity-a356e4815098e5398e103aa69865bd6c88f7ad36.zip
Kernel: Move all code into the Kernel namespace
Diffstat (limited to 'Kernel/Lock.h')
-rw-r--r--Kernel/Lock.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Kernel/Lock.h b/Kernel/Lock.h
index d13e57f872..8f1ed86b95 100644
--- a/Kernel/Lock.h
+++ b/Kernel/Lock.h
@@ -30,10 +30,11 @@
#include <AK/Atomic.h>
#include <AK/Types.h>
#include <Kernel/Arch/i386/CPU.h>
-#include <Kernel/KSyms.h>
#include <Kernel/Scheduler.h>
#include <Kernel/WaitQueue.h>
+namespace Kernel {
+
class Thread;
extern Thread* current;
@@ -98,3 +99,5 @@ private:
T m_resource;
Lock m_lock;
};
+
+}