packaging: Add spec file for VisionFive2
[platform/kernel/linux-starfive.git] / include / linux / rcupdate_trace.h
index 3e7919f..86c8f6c 100644 (file)
 #include <linux/sched.h>
 #include <linux/rcupdate.h>
 
-#ifdef CONFIG_DEBUG_LOCK_ALLOC
-
 extern struct lockdep_map rcu_trace_lock_map;
 
+#ifdef CONFIG_DEBUG_LOCK_ALLOC
+
 static inline int rcu_read_lock_trace_held(void)
 {
        return lock_is_held(&rcu_trace_lock_map);