All of lore.kernel.org
 help / color / mirror / Atom feed
* do_initcalls
@ 2013-03-17 14:41 ishare
  2013-03-17 15:11 ` do_initcalls Tobias Boege
  0 siblings, 1 reply; 8+ messages in thread
From: ishare @ 2013-03-17 14:41 UTC (permalink / raw)
  To: kernelnewbies


 for (call = &__initcall_start; call < &__initcall_end; call++)
   (*call)();

 I want to know where are these  function point assigned by specified function ?

 thanks!

^ permalink raw reply	[flat|nested] 8+ messages in thread
* do_initcalls
@ 2005-11-25  7:41 Jaap de Jong
  2005-11-29  6:27 ` do_initcalls Gil Madar
  0 siblings, 1 reply; 8+ messages in thread
From: Jaap de Jong @ 2005-11-25  7:41 UTC (permalink / raw)
  To: linuxppc-embedded

Hi,

In linux-2.4.25/init/main.c this function is called:
=09
	static void __init do_initcalls(void)
	{
		initcall_t *call;
=09
		call =3D &__initcall_start;
		do {
			(*call)();
			call++
		} while (call < &__initcall_end);

		/* Make sure there is no pending stuff from the initcall
sequence */
		flush_scheduled_tasks();
	}

What is supposed to be in the section __initcall_start ..
__initcall_end?
Mine is empty and therefore causing trouble...
System.map:
	//
	//
	c00ad880 A __initcall_end
	c00ad880 A __initcall_start
	//
	//

The fix is obvious... But I guess I've missed something else?

Thanks in advance,
	Jaap de Jong
=09

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

end of thread, other threads:[~2013-03-19 21:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-17 14:41 do_initcalls ishare
2013-03-17 15:11 ` do_initcalls Tobias Boege
2013-03-18  1:10   ` do_initcalls ishare
2013-03-18 16:35     ` do_initcalls Tobias Boege
2013-03-19  1:31       ` do_initcalls ishare
2013-03-19 21:26         ` do_initcalls Tobias Boege
  -- strict thread matches above, loose matches on Subject: below --
2005-11-25  7:41 do_initcalls Jaap de Jong
2005-11-29  6:27 ` do_initcalls Gil Madar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.