summaryrefslogtreecommitdiff
path: root/Kernel/TTY/VirtualConsole.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-10-13 20:39:59 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-10-13 20:39:59 +0200
commit98c7fd7aedd2f113481327cb0a45698a89124c09 (patch)
tree5734c3da5879c758210bfa35d45d6138dca5fc4d /Kernel/TTY/VirtualConsole.cpp
parent3309bdf7223f04cf80b6ad839a7c07fce0c31d7b (diff)
downloadserenity-98c7fd7aedd2f113481327cb0a45698a89124c09.zip
Kernel: Clarify code that saves FPU state after FNINIT
After we clear the FPU state in a thread when it uses the FPU for the first time, we also save the clean slate in the thread's FPU state buffer. When we're doing that, let's write through current->fpu_state() just to make it clear what's going on. It was actually safe, since we'd just overwritten the g_last_fpu_thread pointer anyway, but this patch improves the communication of intent. Spotted by Bryan Steele, thanks!
Diffstat (limited to 'Kernel/TTY/VirtualConsole.cpp')
0 files changed, 0 insertions, 0 deletions