summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
3d2c674)
Type: fix
Change-Id: I60bb0261c05bf7e25ca01c72780f1cd77fde7a9a
Signed-off-by: Damjan Marion <damarion@cisco.com>
- slot = tail = __atomic_load_n (&ring->tail, __ATOMIC_ACQUIRE);
- head = ring->head;
+ tail = __atomic_load_n (&ring->tail, __ATOMIC_ACQUIRE);
+ slot = head = ring->head;
n_free = tail - mq->last_tail;
if (n_free >= 16)
n_free = tail - mq->last_tail;
if (n_free >= 16)