diff options
author | Chien Tung <chien.tin.tung@intel.com> | 2008-11-02 21:37:35 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-11-02 21:37:35 -0800 |
commit | 35c6d6942c966e6d74ea801d8b5007d7f900ce92 (patch) | |
tree | af2ecce7950e1f051033a0bd6dc7c6524d904f0c /drivers/video/sa1100fb.h | |
parent | 5880ff19fa29466cb9d7e293710e6aebecfecdd1 (diff) |
RDMA/nes: Correct handling of PBL resources
* Roll back allocated structures on failures.
* Use GFP_ATOMIC instead of GFP_KERNEL since we are holding a lock.
* Acquire nesadapter->pbl_lock when modifying PBL counters.
* Decrement PBL counters on deallocation.
Signed-off-by: Chien Tung <chien.tin.tung@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/video/sa1100fb.h')
0 files changed, 0 insertions, 0 deletions