cnic: Convert cnic_local_flags to atomic ops.
authorMichael Chan <mchan@broadcom.com>
Tue, 18 May 2010 11:32:52 +0000 (11:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2010 22:16:44 +0000 (15:16 -0700)
commit1f1332a3cb7ac73e3bcff6ea42ff965c90a29d12
treed0e3d63b8579831f2ad1ea6abdb9860f5f4893eb
parent57c8a456640fa3ca777652f11f2db4179a3e66b6
cnic: Convert cnic_local_flags to atomic ops.

It is easier to expand the flags for other purposes because it does
not require a spin_lock.  The next bug fix patch needs a flag in
cnic_local_flags.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cnic.c
drivers/net/cnic.h