Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44851
b: refs/heads/master
c: bc94763
h: refs/heads/master
i:
  44849: d732a1d
  44847: d89a4e8
v: v3
  • Loading branch information
Peter Williams authored and Linus Torvalds committed Dec 21, 2006
1 parent 9dcacea commit a43a9c3
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 136f1e7a8cb7d17ff91706518549697071640ae4
refs/heads/master: bc947631d1d532c758f8fcbdeb1f7fc2f4c863f8
3 changes: 2 additions & 1 deletion trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -1567,6 +1567,7 @@ int fastcall wake_up_state(struct task_struct *p, unsigned int state)
return try_to_wake_up(p, state, 0);
}

static void task_running_tick(struct rq *rq, struct task_struct *p);
/*
* Perform scheduler related setup for a newly forked process p.
* p is forked by current.
Expand Down Expand Up @@ -1627,7 +1628,7 @@ void fastcall sched_fork(struct task_struct *p, int clone_flags)
* runqueue lock is not a problem.
*/
current->time_slice = 1;
scheduler_tick();
task_running_tick(cpu_rq(cpu), current);
}
local_irq_enable();
put_cpu();
Expand Down

0 comments on commit a43a9c3

Please sign in to comment.