Page MenuHomeFreeBSD

D58859.1794858703.diff
No OneTemporary

Authored By
Unknown
Size
633 B
Referenced Files
None
Subscribers
None

D58859.1794858703.diff

Index: sys/arm64/arm64/vfp.c
===================================================================
--- sys/arm64/arm64/vfp.c
+++ sys/arm64/arm64/vfp.c
@@ -679,8 +679,7 @@
KASSERT(td == curthread, ("%s: Called with non-current thread",
__func__));
-
- critical_enter();
+ CRITICAL_ASSERT(td);
cpu = PCPU_GET(cpuid);
curpcb = td->td_pcb;
@@ -728,8 +727,6 @@
PCPU_SET(fpcurthread, td);
curpcb->pcb_vfpcpu = cpu;
}
-
- critical_exit();
}
void
@@ -738,7 +735,9 @@
struct thread *td;
td = curthread;
+ critical_enter();
vfp_restore_state_common(td, td->td_pcb->pcb_fpflags);
+ critical_exit();
}
bool

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 16, 7:51 PM (13 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41786416
Default Alt Text
D58859.1794858703.diff (633 B)

Event Timeline