aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWANG Cong <[email protected]>2012-07-24 13:44:01 +0800
committerDavid S. Miller <[email protected]>2012-07-24 00:01:30 -0700
commit320f5ea0cedc08ef65d67e056bcb9d181386ef2c (patch)
tree5845fb51d8cdd01729bba4e757e38a801386a4fb /include/linux
parent17bcb684f08649a2ab6a7dcd8288332e72d208f1 (diff)
genetlink: define lockdep_genl_is_held() when CONFIG_LOCKDEP
lockdep_is_held() is defined when CONFIG_LOCKDEP, not CONFIG_PROVE_LOCKING. Cc: "David S. Miller" <[email protected]> Cc: Jesse Gross <[email protected]> Signed-off-by: WANG Cong <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/genetlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/genetlink.h b/include/linux/genetlink.h
index 7a114016ac7d..5ab61c1eb6bf 100644
--- a/include/linux/genetlink.h
+++ b/include/linux/genetlink.h
@@ -85,7 +85,7 @@ enum {
/* All generic netlink requests are serialized by a global lock. */
extern void genl_lock(void);
extern void genl_unlock(void);
-#ifdef CONFIG_PROVE_LOCKING
+#ifdef CONFIG_LOCKDEP
extern int lockdep_genl_is_held(void);
#endif