smp: cast the read in quiesce_all_critical through void *
Fixes compilation on some 32-bit arm platforms. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
9977bd1d5b
commit
e0a1a1e6cb
@ -952,7 +952,7 @@ quiesce_all_critical(void)
|
||||
break;
|
||||
cpu_spinwait();
|
||||
newtd = (struct thread *)
|
||||
atomic_load_acq_ptr((u_long *)pcpu->pc_curthread);
|
||||
atomic_load_acq_ptr((void *)pcpu->pc_curthread);
|
||||
if (td != newtd)
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user