mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:47:34 +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
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