Print this page
5045 use atomic_{inc,dec}_* instead of atomic_add_*

*** 420,430 **** */ } mutex_exit(&e->lock); d = container_of(e, struct l2t_data, l2tab[e->idx]); ! atomic_add_int(&d->nfree, 1); } void t4_l2t_release(struct l2t_entry *e) --- 420,430 ---- */ } mutex_exit(&e->lock); d = container_of(e, struct l2t_data, l2tab[e->idx]); ! atomic_inc_uint(&d->nfree); } void t4_l2t_release(struct l2t_entry *e)