public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Non-__init functions calling __init functions
@ 2003-03-20 16:15 Andrzej Krzysztofowicz
  2003-03-20 16:23 ` Stuart MacDonald
  0 siblings, 1 reply; 6+ messages in thread
From: Andrzej Krzysztofowicz @ 2003-03-20 16:15 UTC (permalink / raw)
  To: kernel list; +Cc: stuartm

> This is always a bug isn't it?

... unless they are guaranteed to be called in the init context only.

Andrzej

-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Gdansk University of Technology

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Non-__init functions calling __init functions
@ 2003-03-20 16:03 Stuart MacDonald
  0 siblings, 0 replies; 6+ messages in thread
From: Stuart MacDonald @ 2003-03-20 16:03 UTC (permalink / raw)
  To: linux-kernel

This is always a bug isn't it?

A quick check shows that the following files have non-__init functions
calling __init init_idle() in 2.5.65:

arch/ppc/kernel/smp.c
arch/um/kernel/smp.c
arch/mips/kernel/process.c
arch/mips64/kernel/process.c
arch/parisc/kernel/smp.c
arch/s390x/kernel/smp.c
arch/s390/kernel/smp.c

..Stu



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-03-21  8:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-20 16:15 Non-__init functions calling __init functions Andrzej Krzysztofowicz
2003-03-20 16:23 ` Stuart MacDonald
2003-03-20 16:32   ` Andrzej Krzysztofowicz
2003-03-20 17:01     ` Chris Friesen
2003-03-21  9:10       ` Andrzej Krzysztofowicz
  -- strict thread matches above, loose matches on Subject: below --
2003-03-20 16:03 Stuart MacDonald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox