mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
Kernel: Make Processor::clean_fpu_state() static
This function returns the same identical FPU state for all CPU's, so there's no point requiring a Processor instance.
This commit is contained in:
parent
8000e8a080
commit
05e1b196e9
Notes:
sideshowbarker
2024-07-18 05:37:06 +09:00
Author: https://github.com/awesomekling
Commit: 05e1b196e9
2 changed files with 2 additions and 5 deletions
|
@ -392,10 +392,7 @@ public:
|
|||
return read_gs_ptr(__builtin_offsetof(Processor, m_in_critical));
|
||||
}
|
||||
|
||||
ALWAYS_INLINE const FPUState& clean_fpu_state() const
|
||||
{
|
||||
return s_clean_fpu_state;
|
||||
}
|
||||
ALWAYS_INLINE static FPUState const& clean_fpu_state() { return s_clean_fpu_state; }
|
||||
|
||||
static void smp_enable();
|
||||
bool smp_process_pending_messages();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue