aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--litmus/trace.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/litmus/trace.c b/litmus/trace.c
index 90ef443bd9..489e23e8a6 100644
--- a/litmus/trace.c
+++ b/litmus/trace.c
@@ -116,6 +116,9 @@ static int trace_release(struct inode *in, struct file *filp)
116 trace_ts_buf = NULL; 116 trace_ts_buf = NULL;
117 } 117 }
118 118
119 /* dummy entry to make linker happy */
120 ft_event0(666, save_timestamp);
121
119 use_count--; 122 use_count--;
120 up(&feather_lock); 123 up(&feather_lock);
121out: 124out:
@@ -292,8 +295,6 @@ static int __init init_sched_trace(void)
292 int error = 0; 295 int error = 0;
293 296
294 printk("Initializing Feather-Trace device\n"); 297 printk("Initializing Feather-Trace device\n");
295 /* dummy entry to make linker happy */
296 ft_event0(666, save_timestamp);
297 298
298 error = register_buffer_dev("ft_trace", &ft_trace_fops, 299 error = register_buffer_dev("ft_trace", &ft_trace_fops,
299 FT_TRACE_MAJOR, 1); 300 FT_TRACE_MAJOR, 1);