IB/ehca: Lock renaming, static initializers
authorJoachim Fenkes <fenkes@de.ibm.com>
Mon, 9 Jul 2007 13:29:03 +0000 (15:29 +0200)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:27 +0000 (20:12 -0700)
commit9844b71baa60270110eabaa9589d3260443d1a71
tree30e443f3329bf1c0b4e78d0787c8e33158dff59e
parent15f001ec47b049051f679f8b8c965ac9aae95b3e
IB/ehca: Lock renaming, static initializers

- Rename all spinlock flags to "flags", matching the vast majority of kernel
  code.
- Move hcall_lock into the only file it's used in.
- Replaced spin_lock_init() and friends with static initializers for
  global variables.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_classes.h
drivers/infiniband/hw/ehca/ehca_cq.c
drivers/infiniband/hw/ehca/ehca_main.c
drivers/infiniband/hw/ehca/ehca_qp.c
drivers/infiniband/hw/ehca/ehca_reqs.c
drivers/infiniband/hw/ehca/hcp_if.c