-/* $OpenBSD: vm_machdep.c,v 1.43 2024/02/19 09:59:29 claudio Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.44 2024/03/29 21:12:58 miod Exp $ */
/* $NetBSD: vm_machdep.c,v 1.38 2001/06/30 00:02:20 eeh Exp $ */
/*
continue;
sparc64_send_ipi(ci->ci_itid,
save ? ipi_save_fpstate : ipi_drop_fpstate, (vaddr_t)p, 0);
- while(ci->ci_fpproc == p)
+ while (ci->ci_fpproc == p)
membar_sync();
break;
}
if (p->p_md.md_fpstate != NULL) {
fpusave_proc(p, 0);
free(p->p_md.md_fpstate, M_SUBPROC, sizeof(struct fpstate));
+ p->p_md.md_fpstate = NULL;
}
pmap_deactivate(p);