Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288581
b: refs/heads/master
c: 3c1b1ce
h: refs/heads/master
i:
  288579: 58166c4
v: v3
  • Loading branch information
Julia Lawall authored and Paul E. McKenney committed Feb 21, 2012
1 parent 0d6188d commit 5623c89
Show file tree
Hide file tree
Showing 2 changed files with 5 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: bde23c6892878e48f64de668660778991bc2fb56
refs/heads/master: 3c1b1ce00d2702d6be9b92233822e560f37ea780
5 changes: 4 additions & 1 deletion trunk/kernel/rcutorture.c
Original file line number Diff line number Diff line change
Expand Up @@ -1465,12 +1465,15 @@ rcu_torture_onoff(void *arg)
static int __cpuinit
rcu_torture_onoff_init(void)
{
int ret;

if (onoff_interval <= 0)
return 0;
onoff_task = kthread_run(rcu_torture_onoff, NULL, "rcu_torture_onoff");
if (IS_ERR(onoff_task)) {
ret = PTR_ERR(onoff_task);
onoff_task = NULL;
return PTR_ERR(onoff_task);
return ret;
}
return 0;
}
Expand Down

0 comments on commit 5623c89

Please sign in to comment.