* duplicate declaration of rq in sched_init()
@ 2002-06-02 21:42 William Lee Irwin III
0 siblings, 0 replies; only message in thread
From: William Lee Irwin III @ 2002-06-02 21:42 UTC (permalink / raw)
To: linux-kernel; +Cc: trivial
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-06-02 21:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-02 21:42 duplicate declaration of rq in sched_init() William Lee Irwin III
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox