hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/dma-buf/sync_debug.h
....@@ -62,22 +62,18 @@
6262 struct rb_node node;
6363 };
6464
65
-#ifdef CONFIG_DEBUG_FS
6665 extern const struct file_operations sw_sync_debugfs_fops;
6766
67
+#ifdef CONFIG_SW_SYNC_DEBUG
6868 void sync_timeline_debug_add(struct sync_timeline *obj);
6969 void sync_timeline_debug_remove(struct sync_timeline *obj);
7070 void sync_file_debug_add(struct sync_file *fence);
7171 void sync_file_debug_remove(struct sync_file *fence);
72
-void sync_dump(void);
7372 #else
7473 static inline void sync_timeline_debug_add(struct sync_timeline *obj) {}
7574 static inline void sync_timeline_debug_remove(struct sync_timeline *obj) {}
7675 static inline void sync_file_debug_add(struct sync_file *fence) {}
7776 static inline void sync_file_debug_remove(struct sync_file *fence) {}
78
-static inline void sync_dump(void) {}
7977 #endif
80
-
81
-void sync_timeline_signal(struct sync_timeline *obj, unsigned int inc);
8278
8379 #endif /* _LINUX_SYNC_H */