diff options
author | Roland Dreier <rolandd@cisco.com> | 2006-09-22 18:17:20 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-09-22 18:17:20 -0400 |
commit | 1ccf6aa19aabc11587d6d7818a5729adfed0e3de (patch) | |
tree | 754e213bc201cd338dd6bffa6877872b1e0dcc93 /drivers/cpufreq/cpufreq_powersave.c | |
parent | ab10867621a96230757eb4a2a19d560b85f62ce9 (diff) |
IB/uverbs: Fix lockdep warning when QP is created with 2 CQs
Lockdep warns when userspace creates a QP that uses different CQs for
send completions and receive completions, because both CQs are locked
and their mutexes belong to the same lock class. However, we know
that the mutexes are distinct and the nesting is safe (there is no
possibility of AB-BA deadlock because the mutexes are locked with
down_read()), so annotate the situation with SINGLE_DEPTH_NESTING to
get rid of the lockdep warning.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq_powersave.c')
0 files changed, 0 insertions, 0 deletions