diff options
author | Andi Kleen <ak@linux.intel.com> | 2012-03-16 12:00:57 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-16 14:47:41 -0700 |
commit | bc01caf53da4de53361376734707336de8fff839 (patch) | |
tree | 408addf95b02ccfa53c7221df9310837ea0f94db /drivers/scsi/NCR5380.c | |
parent | 40ec6c542121ef85f5ba2e7d75968806009dcaf7 (diff) |
staging/zmem: Use lockdep_assert_held instead of spin_is_locked
WARN_ON(!spin_is_locked()) will always trigger on UP.
Use lockdep_assert_held instead.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/NCR5380.c')
0 files changed, 0 insertions, 0 deletions