Skip to content
Commit bc01caf5 authored by Andi Kleen's avatar Andi Kleen Committed by Greg Kroah-Hartman
Browse files

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: default avatarAndi Kleen <ak@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 40ec6c54
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment