aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_stack.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-08-11 08:19:09 -0400
committerIngo Molnar <mingo@elte.hu>2009-08-11 08:19:09 -0400
commit89034bc2c7b839702c00a704e79d112737f98be0 (patch)
treee65b1f3d4c751baa840efc81bc4734f089379eb3 /kernel/trace/trace_stack.c
parentfb82ad719831db58e9baa4c67015aae3fe27e7e3 (diff)
parent85dfd81dc57e8183a277ddd7a56aa65c96f3f487 (diff)
Merge branch 'linus' into tracing/core
Conflicts: kernel/trace/trace_events_filter.c We use the tracing/core version. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_stack.c')
-rw-r--r--kernel/trace/trace_stack.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/kernel/trace/trace_stack.c b/kernel/trace/trace_stack.c
index a4dc8d9ad1b1..0da1cff08d67 100644
--- a/kernel/trace/trace_stack.c
+++ b/kernel/trace/trace_stack.c
@@ -294,17 +294,14 @@ static const struct seq_operations stack_trace_seq_ops = {
294 294
295static int stack_trace_open(struct inode *inode, struct file *file) 295static int stack_trace_open(struct inode *inode, struct file *file)
296{ 296{
297 int ret; 297 return seq_open(file, &stack_trace_seq_ops);
298
299 ret = seq_open(file, &stack_trace_seq_ops);
300
301 return ret;
302} 298}
303 299
304static const struct file_operations stack_trace_fops = { 300static const struct file_operations stack_trace_fops = {
305 .open = stack_trace_open, 301 .open = stack_trace_open,
306 .read = seq_read, 302 .read = seq_read,
307 .llseek = seq_lseek, 303 .llseek = seq_lseek,
304 .release = seq_release,
308}; 305};
309 306
310int 307int