Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       atomic_add_unless - add unless the number is a given value

SYNOPSIS

       atomic_add_unless  (v, a, u);

ARGUMENTS

       v      pointer of type atomic_t

       a      the amount to add to v...

       u      ...unless v is equal to u.

DESCRIPTION

       Atomically  adds a to v, so long as it was not u. Returns non-zero if v
       was not u, and zero otherwise.