summaryrefslogtreecommitdiff
path: root/Kernel/Thread.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2020-01-09 18:02:01 +0100
committerAndreas Kling <awesomekling@gmail.com>2020-01-09 18:02:01 +0100
commit17ef5bc0ace2eb662445b612913e4ae5e3304c34 (patch)
tree2eeaee0443484b5fe7c14db1bab474d12eb410bb /Kernel/Thread.cpp
parentf007a63b1086988736313142c2f332160e1698ab (diff)
downloadserenity-17ef5bc0ace2eb662445b612913e4ae5e3304c34.zip
Kernel: Rename {ss,esp}_if_crossRing to userspace_{ss,esp}
These were always so awkwardly named.
Diffstat (limited to 'Kernel/Thread.cpp')
-rw-r--r--Kernel/Thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Thread.cpp b/Kernel/Thread.cpp
index f1f8dba307..d957fdb952 100644
--- a/Kernel/Thread.cpp
+++ b/Kernel/Thread.cpp
@@ -557,7 +557,7 @@ ShouldUnblockThread Thread::dispatch_signal(u8 signal)
set_state(Skip1SchedulerPass);
} else {
auto& regs = get_register_dump_from_stack();
- u32* stack = &regs.esp_if_crossRing;
+ u32* stack = &regs.userspace_esp;
setup_stack(regs, stack);
regs.eip = g_return_to_ring3_from_signal_trampoline.get();
}