.. | .. |
---|
62 | 62 | struct rb_node node; |
---|
63 | 63 | }; |
---|
64 | 64 | |
---|
65 | | -#ifdef CONFIG_DEBUG_FS |
---|
66 | 65 | extern const struct file_operations sw_sync_debugfs_fops; |
---|
67 | 66 | |
---|
| 67 | +#ifdef CONFIG_SW_SYNC_DEBUG |
---|
68 | 68 | void sync_timeline_debug_add(struct sync_timeline *obj); |
---|
69 | 69 | void sync_timeline_debug_remove(struct sync_timeline *obj); |
---|
70 | 70 | void sync_file_debug_add(struct sync_file *fence); |
---|
71 | 71 | void sync_file_debug_remove(struct sync_file *fence); |
---|
72 | | -void sync_dump(void); |
---|
73 | 72 | #else |
---|
74 | 73 | static inline void sync_timeline_debug_add(struct sync_timeline *obj) {} |
---|
75 | 74 | static inline void sync_timeline_debug_remove(struct sync_timeline *obj) {} |
---|
76 | 75 | static inline void sync_file_debug_add(struct sync_file *fence) {} |
---|
77 | 76 | static inline void sync_file_debug_remove(struct sync_file *fence) {} |
---|
78 | | -static inline void sync_dump(void) {} |
---|
79 | 77 | #endif |
---|
80 | | - |
---|
81 | | -void sync_timeline_signal(struct sync_timeline *obj, unsigned int inc); |
---|
82 | 78 | |
---|
83 | 79 | #endif /* _LINUX_SYNC_H */ |
---|