diff options
author | Nico Weber <thakis@chromium.org> | 2020-08-16 20:13:28 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-17 09:10:06 +0200 |
commit | 96ff0971eadc020fae561d553aaf4773299365bf (patch) | |
tree | 7dc288bf4ea7b9bb8edca1d51fc236bfd13ba36b /Kernel/Thread.cpp | |
parent | b0aa8115c2c1d240edc75bbd5263f7dc2ca3d28b (diff) | |
download | serenity-96ff0971eadc020fae561d553aaf4773299365bf.zip |
Kernel: Remove a comment that has been stale since 7a64f55c0f
Diffstat (limited to 'Kernel/Thread.cpp')
-rw-r--r-- | Kernel/Thread.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Kernel/Thread.cpp b/Kernel/Thread.cpp index 6a4f9c4f55..f14d80ba68 100644 --- a/Kernel/Thread.cpp +++ b/Kernel/Thread.cpp @@ -614,9 +614,6 @@ void Thread::push_value_on_stack(FlatPtr value) RegisterState& Thread::get_register_dump_from_stack() { - // The userspace registers should be stored at the top of the stack - // We have to subtract 2 because the processor decrements the kernel - // stack before pushing the args. return *(RegisterState*)(kernel_stack_top() - sizeof(RegisterState)); } |