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
a598453702
commit
c3fab6f99b
@ -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