Re: [BUG] 2.5.35: fs.o

Roberto Nibali (ratz@drugphish.ch)
Mon, 16 Sep 2002 16:59:01 +0200


Hello,

> fs/fs.o: In function `flush_old_exec':
> fs/fs.o(.text+0x9b1c): undefined reference to `wait_task_inactive'

The following worked for me but I'm not convinced that this is the right
thing (tm):

--- linux-2.5.35/kernel/sched.c Mon Sep 16 04:18:24 2002
+++ linux-2.5.35-ratz/kernel/sched.c Mon Sep 16 13:29:28 2002
@@ -331,8 +331,6 @@
#endif
}

-#ifdef CONFIG_SMP
-
/*
* wait_task_inactive - wait for a thread to unschedule.
*
@@ -366,7 +364,6 @@
task_rq_unlock(rq, &flags);
preempt_enable();
}
-#endif

/*
* kick_if_running - kick the remote CPU if the task is running currently.

I think Ingo should check this and take appropriate actions. I could
also be that ../fs/exec.c and others in binfmt* should not call this
wait_task_inactive under UP anymore.

Best regards,
Roberto Nibali, ratz

-- 
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc

- 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/