* Little bug in O(1) scheduler patch (also in 2.4.19-ac4)
@ 2002-09-06 8:32 Juan M. de la Torre
2002-09-06 9:07 ` Ingo Molnar
0 siblings, 1 reply; 3+ messages in thread
From: Juan M. de la Torre @ 2002-09-06 8:32 UTC (permalink / raw)
To: linux-kernel
Hi,
a module compiled for kernel 2.4.19-ac4, with CONFIG_MODVERSIONS, and
importing flush_signals() from kernel, fails to load, reporting
"unresolved symbol flush_signals_xxxxxxxx".
The problem is that the type of the argument passed to flush_signals()
has been changed from "struct task_struct *" to "task_t *" in sched.h,
but it remains unchanged in kernel/signal.c. The same happens with
flush_signal_handlers().
Sorry if this is a known issue.
Regargs,
Juanma
PS: First sent to Ingo Molnar, since no response, reposting here again.
--
/jm
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Little bug in O(1) scheduler patch (also in 2.4.19-ac4)
2002-09-06 8:32 Little bug in O(1) scheduler patch (also in 2.4.19-ac4) Juan M. de la Torre
@ 2002-09-06 9:07 ` Ingo Molnar
2002-09-06 10:19 ` Juan M. de la Torre
0 siblings, 1 reply; 3+ messages in thread
From: Ingo Molnar @ 2002-09-06 9:07 UTC (permalink / raw)
To: Juan M. de la Torre; +Cc: linux-kernel
On Fri, 6 Sep 2002, Juan M. de la Torre wrote:
> a module compiled for kernel 2.4.19-ac4, with CONFIG_MODVERSIONS, and
> importing flush_signals() from kernel, fails to load, reporting
> "unresolved symbol flush_signals_xxxxxxxx".
what module?
> The problem is that the type of the argument passed to flush_signals()
> has been changed from "struct task_struct *" to "task_t *" in sched.h,
> but it remains unchanged in kernel/signal.c. The same happens with
> flush_signal_handlers().
hm, struct task_struct * is the same as task_t *.
Ingo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Little bug in O(1) scheduler patch (also in 2.4.19-ac4)
2002-09-06 9:07 ` Ingo Molnar
@ 2002-09-06 10:19 ` Juan M. de la Torre
0 siblings, 0 replies; 3+ messages in thread
From: Juan M. de la Torre @ 2002-09-06 10:19 UTC (permalink / raw)
To: Ingo Molnar; +Cc: linux-kernel
I was wrong; the problem i was experimenting was due to a symbolic link
problem (i was compiling the module with other kernel headers). Since
the CRC of a versioned symbol is based on the function arguments i
thought that the different type of the argument (well, is the same type with
different name) has something to do with the error i was getting.
I apologize for wasting readers' time.
Regards,
Juanma
--
/jm
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-09-06 10:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-06 8:32 Little bug in O(1) scheduler patch (also in 2.4.19-ac4) Juan M. de la Torre
2002-09-06 9:07 ` Ingo Molnar
2002-09-06 10:19 ` Juan M. de la Torre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox