summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2022-11-08 10:02:01 -0500
committerSam Atkins <atkinssj@gmail.com>2022-11-08 15:09:08 +0000
commitd09b5e8484a5d4869d119cf3fc66b1a247cbd36d (patch)
tree82308e442b61aa3559d4b3dbdd7fb8a82bb106fc /Kernel
parent7442cfb5072b74a62c0e061e6e9ff44fda08780d (diff)
downloadserenity-d09b5e8484a5d4869d119cf3fc66b1a247cbd36d.zip
Everywhere: Clean up "in in" comment typos
Includes fetch editorial update https://github.com/whatwg/fetch/commit/3cafbdfc39250!
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Arch/x86/i386/Processor.cpp2
-rw-r--r--Kernel/Arch/x86/x86_64/Processor.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Arch/x86/i386/Processor.cpp b/Kernel/Arch/x86/i386/Processor.cpp
index c9d49b28ae..9a23a5d083 100644
--- a/Kernel/Arch/x86/i386/Processor.cpp
+++ b/Kernel/Arch/x86/i386/Processor.cpp
@@ -69,7 +69,7 @@ FlatPtr Processor::init_context(Thread& thread, bool leave_crit)
VERIFY(is_kernel_mode());
VERIFY(g_scheduler_lock.is_locked());
if (leave_crit) {
- // Leave the critical section we set up in in Process::exec,
+ // Leave the critical section we set up in Process::exec,
// but because we still have the scheduler lock we should end up with 1
VERIFY(in_critical() == 2);
m_in_critical = 1; // leave it without triggering anything or restoring flags
diff --git a/Kernel/Arch/x86/x86_64/Processor.cpp b/Kernel/Arch/x86/x86_64/Processor.cpp
index a855f55d87..7925258e82 100644
--- a/Kernel/Arch/x86/x86_64/Processor.cpp
+++ b/Kernel/Arch/x86/x86_64/Processor.cpp
@@ -65,7 +65,7 @@ FlatPtr Processor::init_context(Thread& thread, bool leave_crit)
VERIFY(is_kernel_mode());
VERIFY(g_scheduler_lock.is_locked());
if (leave_crit) {
- // Leave the critical section we set up in in Process::exec,
+ // Leave the critical section we set up in Process::exec,
// but because we still have the scheduler lock we should end up with 1
VERIFY(in_critical() == 2);
m_in_critical = 1; // leave it without triggering anything or restoring flags