]> err.no Git - linux-2.6/commit
IPoIB: Use spin_lock_irq() instead of spin_lock_irqsave()
authorRoland Dreier <rolandd@cisco.com>
Mon, 10 Apr 2006 16:43:59 +0000 (09:43 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 10 Apr 2006 16:43:59 +0000 (09:43 -0700)
commitf697f74a6b189702474b2fd457e1f9365fa213e3
tree2e01abf6b8f324b195c7d72e925b79e9eca9ab1f
parenta30bb96c6f5aca6513e4dbd94962da03d14b20a9
IPoIB: Use spin_lock_irq() instead of spin_lock_irqsave()

We know ipoib_flush_paths() is called from plain process context with
interrupts enabled, since it does wait_for_completion().  So there's
no need to use spin_lock_irqsave() -- spin_lock_irq() is fine.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c