Messages in this thread Patch in this message | | | Date | Sun, 2 Jun 2002 14:42:43 -0700 | From | William Lee Irwin III <> | Subject | duplicate declaration of rq in sched_init() |
| |
I found this one while trying to straighten out bootstrap ordering issues elsewhere.
There appears to be a duplicate declaration of rq in sched_init(). This removes the nested declaration and otherwise leaves things alone.
Cheers, Bill
===== kernel/sched.c 1.79 vs edited ===== --- 1.79/kernel/sched.c Wed May 29 08:26:26 2002 +++ edited/kernel/sched.c Sun Jun 2 14:38:24 2002 @@ -1591,9 +1591,9 @@ int i, j, k; for (i = 0; i < NR_CPUS; i++) { - runqueue_t *rq = cpu_rq(i); prio_array_t *array; + rq = cpu_rq(i); rq->active = rq->arrays; rq->expired = rq->arrays + 1; spin_lock_init(&rq->lock); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |