diff options
| author | Steve French <sfrench@us.ibm.com> | 2006-03-20 11:58:09 -0500 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2006-03-20 11:58:09 -0500 |
| commit | fd4a0b92db6a57cba8d03efbe1cebf91f9124ce0 (patch) | |
| tree | 5886a08bfa1132058b06074f4666a36dc5ddd2a1 /kernel/sched.c | |
| parent | 88274815f7477dc7550439413ab87c5ce4c5a623 (diff) | |
| parent | 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 (diff) | |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'kernel/sched.c')
| -rw-r--r-- | kernel/sched.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 3454bb869fd0..4d46e90f59c3 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
| @@ -178,13 +178,6 @@ static unsigned int task_timeslice(task_t *p) | |||
| 178 | #define task_hot(p, now, sd) ((long long) ((now) - (p)->last_ran) \ | 178 | #define task_hot(p, now, sd) ((long long) ((now) - (p)->last_ran) \ |
| 179 | < (long long) (sd)->cache_hot_time) | 179 | < (long long) (sd)->cache_hot_time) |
| 180 | 180 | ||
| 181 | void __put_task_struct_cb(struct rcu_head *rhp) | ||
| 182 | { | ||
| 183 | __put_task_struct(container_of(rhp, struct task_struct, rcu)); | ||
| 184 | } | ||
| 185 | |||
| 186 | EXPORT_SYMBOL_GPL(__put_task_struct_cb); | ||
| 187 | |||
| 188 | /* | 181 | /* |
| 189 | * These are the runqueue data structures: | 182 | * These are the runqueue data structures: |
| 190 | */ | 183 | */ |
| @@ -4335,6 +4328,7 @@ void __devinit init_idle(task_t *idle, int cpu) | |||
| 4335 | runqueue_t *rq = cpu_rq(cpu); | 4328 | runqueue_t *rq = cpu_rq(cpu); |
| 4336 | unsigned long flags; | 4329 | unsigned long flags; |
| 4337 | 4330 | ||
| 4331 | idle->timestamp = sched_clock(); | ||
| 4338 | idle->sleep_avg = 0; | 4332 | idle->sleep_avg = 0; |
| 4339 | idle->array = NULL; | 4333 | idle->array = NULL; |
| 4340 | idle->prio = MAX_PRIO; | 4334 | idle->prio = MAX_PRIO; |
