Commit
3674afe8a0 ("BUG/MEDIUM: threads: Atomically set TH_FL_SLEEPING
and clr FL_NOTIFIED") accidentally left a strange-looking line wrapping
making one think of an editing mistake, let's fix it and keep it on a
single line given that even indented wrapping is almost as large.
This can be backported with the fix above till 2.8 to keep the patch
context consistent between versions.
else {
unsigned int flags = _HA_ATOMIC_LOAD(&th_ctx->flags);
- while (unlikely(!HA_ATOMIC_CAS(&th_ctx->flags, &flags,
-(flags | TH_FL_SLEEPING) & ~TH_FL_NOTIFIED)))
+ while (unlikely(!HA_ATOMIC_CAS(&th_ctx->flags, &flags, (flags | TH_FL_SLEEPING) & ~TH_FL_NOTIFIED)))
__ha_cpu_relax();
if (thread_has_tasks()) {