mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Propagate volatile qualifier to make gcc4.2 happy.
This commit is contained in:
parent
f58747375d
commit
65d32cd8fb
1 changed files with 1 additions and 1 deletions
|
|
@ -530,7 +530,7 @@ thread_lock_unblock(struct thread *td, struct mtx *new)
|
|||
{
|
||||
mtx_assert(new, MA_OWNED);
|
||||
MPASS(td->td_lock == &blocked_lock);
|
||||
atomic_store_rel_ptr((void *)&td->td_lock, (uintptr_t)new);
|
||||
atomic_store_rel_ptr((volatile void *)&td->td_lock, (uintptr_t)new);
|
||||
spinlock_exit();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue