rcu: Rename rcu_lockdep_assert() to RCU_LOCKDEP_WARN()
[deliverable/linux.git] / kernel / cgroup.c
index f89d9292eee62540ff1c2f81ed0a658cbd279642..b89f3168411bc1e9f4f96a42fe5732f3e36c1d41 100644 (file)
@@ -107,8 +107,8 @@ static DEFINE_SPINLOCK(release_agent_path_lock);
 struct percpu_rw_semaphore cgroup_threadgroup_rwsem;
 
 #define cgroup_assert_mutex_or_rcu_locked()                            \
-       rcu_lockdep_assert(rcu_read_lock_held() ||                      \
-                          lockdep_is_held(&cgroup_mutex),              \
+       RCU_LOCKDEP_WARN(!rcu_read_lock_held() &&                       \
+                          !lockdep_is_held(&cgroup_mutex),             \
                           "cgroup_mutex or RCU read lock required");
 
 /*
This page took 0.028478 seconds and 5 git commands to generate.