genetlink: define lockdep_genl_is_held() when CONFIG_LOCKDEP
[deliverable/linux.git] / net / netlink / genetlink.c
index 62ebe3c6291c73776033cc91836c9670db054d3e..fda497412fc34a5b10aa25a1c7599118d5e832a8 100644 (file)
@@ -33,7 +33,7 @@ void genl_unlock(void)
 }
 EXPORT_SYMBOL(genl_unlock);
 
-#ifdef CONFIG_PROVE_LOCKING
+#ifdef CONFIG_LOCKDEP
 int lockdep_genl_is_held(void)
 {
        return lockdep_is_held(&genl_mutex);
This page took 0.026056 seconds and 5 git commands to generate.