Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100505
b: refs/heads/master
c: 07a267c
h: refs/heads/master
i:
  100503: aabed41
v: v3
  • Loading branch information
Steven Rostedt authored and Thomas Gleixner committed May 23, 2008
1 parent cb2bfc8 commit d80b181
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: c1d2327b36f2261ffa8ff7227321ba900c7eee7f
refs/heads/master: 07a267cdd2fd7d1de9455b1e36a1635ace7276c7
6 changes: 2 additions & 4 deletions trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,10 +630,10 @@ static int ftraced(void *ignore)
{
unsigned long usecs;

set_current_state(TASK_INTERRUPTIBLE);

while (!kthread_should_stop()) {

set_current_state(TASK_INTERRUPTIBLE);

/* check once a second */
schedule_timeout(HZ);

Expand Down Expand Up @@ -667,8 +667,6 @@ static int ftraced(void *ignore)
wake_up_interruptible(&ftraced_waiters);

ftrace_shutdown_replenish();

set_current_state(TASK_INTERRUPTIBLE);
}
__set_current_state(TASK_RUNNING);
return 0;
Expand Down

0 comments on commit d80b181

Please sign in to comment.