IB/ehca: Remove _irqsave, move #ifdef
authorJoachim Fenkes <fenkes@de.ibm.com>
Wed, 9 May 2007 11:48:20 +0000 (13:48 +0200)
committerRoland Dreier <rolandd@cisco.com>
Mon, 14 May 2007 20:40:05 +0000 (13:40 -0700)
commitc7a14939e78e75dd90b54cb0df371019bc6d3e89
tree4c139f1abea8de4e0211f79a1f990ea80bd8f883
parentc55a0ddd8ebdd657224449c2fbfcd427e054c8cc
IB/ehca: Remove _irqsave, move #ifdef

- In ehca_process_eq(), we're IRQ safe throughout the whole function, so we
  don't need another _irqsave in the middle of flight.

- take_over_work() is only called by comp_pool_callback(), so it can move
  into the same #ifdef block.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_irq.c