firewire: Use atomic_t's for serial numbers.
authorKristian Høgsberg <krh@redhat.com>
Tue, 6 Feb 2007 19:49:38 +0000 (14:49 -0500)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:02:54 +0000 (22:02 +0100)
commitbbf19db37e8be3fa6d6fe3e26e50da068b44a0e8
treed324cb9e52aeea485ce1c6293c51800bb4e4deeb
parent362c2c8ca4a2f33f6e23a85c3b4caf64f1ce4bf9
firewire: Use atomic_t's for serial numbers.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Use atomic_inc_return.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-card.c
drivers/firewire/fw-device.c