Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110773
b: refs/heads/master
c: 5802294
h: refs/heads/master
i:
  110771: bab4db4
v: v3
  • Loading branch information
Steven Rostedt authored and Ingo Molnar committed Aug 15, 2008
1 parent 6cdd165 commit 979830b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dd0078f4f04d939950a792c493d7d97d7ce663b8
refs/heads/master: 5802294f1b1895ee19a3d0ae72805da453afb9de
7 changes: 6 additions & 1 deletion trunk/kernel/rcupreempt_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,16 @@ static int rcupreempt_debugfs_init(void)

static int __init rcupreempt_trace_init(void)
{
int ret;

mutex_init(&rcupreempt_trace_mutex);
rcupreempt_trace_buf = kmalloc(RCUPREEMPT_TRACE_BUF_SIZE, GFP_KERNEL);
if (!rcupreempt_trace_buf)
return 1;
return rcupreempt_debugfs_init();
ret = rcupreempt_debugfs_init();
if (ret)
kfree(rcupreempt_trace_buf);
return ret;
}

static void __exit rcupreempt_trace_cleanup(void)
Expand Down

0 comments on commit 979830b

Please sign in to comment.