2002-09-16 14:44:04

by Rolf Eike Beer

[permalink] [raw]
Subject: [BUG] 2.5.35: fs.o

This happens:

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

.config will be send if requested.

Eike


2002-09-16 14:52:07

by Roberto Nibali

[permalink] [raw]
Subject: Re: [BUG] 2.5.35: fs.o

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