]> bbs.cooldavid.org Git - net-next-2.6.git/commit
firewire: nosy: use flagless variants of spinlock accessors
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 22 Jul 2010 09:56:38 +0000 (11:56 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 27 Jul 2010 09:04:10 +0000 (11:04 +0200)
commit685c3f80b6d88478a6428676f9daab59faf3cd4b
tree3f1f93927c0241ba12d887bcf7b90fc52d760884
parenta2d39db9dec0e7e403f54c9cf98b7dbc82b4c44a
firewire: nosy: use flagless variants of spinlock accessors

nosy_start/stop_snoop() are always only called by the ioctl method, i.e.
with IRQs enabled.  packet_handler() and bus_reset_handler() are always
only called by the IRQ handler.  Hence neither one needs to track IRQ
flags.

To underline the call context of packet_handler() and
bus_reset_handler(), rename these functions to *_irq_handler().

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