RDMA/nes: Change memory allocation for cqp request to GFP_ATOMIC
authorDon Wood <donald.e.wood@intel.com>
Sun, 6 Sep 2009 03:36:37 +0000 (20:36 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 6 Sep 2009 03:36:37 +0000 (20:36 -0700)
commitba0c5d9a8975cf740a4a4b8c579cc4b325f8b852
tree7b0390138f2d75d19a03916bd3392d6503ef2310
parent873fcdd4bfc75880888a7d148a71d70ed87c9ebf
RDMA/nes: Change memory allocation for cqp request to GFP_ATOMIC

The routine to allocate a cqp request is not called from process
context code.  Since it is not OK to sleep, it needs to use GFP_ATOMIC
not GFP_KERNEL.

Signed-off-by: Don Wood <donald.e.wood@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_utils.c