1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

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:
Mateusz Guzik 2019-11-30 19:33:02 +00:00
parent 9977bd1d5b
commit e0a1a1e6cb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355241

View File

@ -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;
}