Page MenuHomeFreeBSD

D58859.1794892067.diff
No OneTemporary

Authored By
Unknown
Size
600 B
Referenced Files
None
Subscribers
None

D58859.1794892067.diff

diff --git a/sys/arm64/arm64/vfp.c b/sys/arm64/arm64/vfp.c
--- a/sys/arm64/arm64/vfp.c
+++ b/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
Tue, Nov 17, 5:07 AM (22 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36844305
Default Alt Text
D58859.1794892067.diff (600 B)

Event Timeline