All of lore.kernel.org
 help / color / mirror / Atom feed
* [Kernel-janitors] [patch] fix kernel start
@ 2004-04-01 20:49 maximilian attems
  2004-04-01 20:55 ` Matthew Wilcox
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: maximilian attems @ 2004-04-01 20:49 UTC (permalink / raw)
  To: kernel-janitors


linux-2.6.5-rc2 has a quick count of 33 main() 
function in it's sources, but non of them is
the real Zonked Quokka.

patch compile && boot tested
archs will easily catch up!

a++ maks


--- linux-2.6.5-rc2/init/main.c	2004-03-29 19:21:39.000000000 +0200
+++ linux-2.6.5-rc2-maks/init/main.c	2004-04-01 22:16:45.000000000 +0200
@@ -399,7 +399,7 @@
  *	Activate the first processor.
  */
 
-asmlinkage void __init start_kernel(void)
+asmlinkage void __init main(void)
 {
 	char * command_line;
 	extern char saved_command_line[];
--- linux-2.6.5-rc2/arch/i386/kernel/head.S	2004-03-29 19:21:32.000000000 +0200
+++ linux-2.6.5-rc2-maks/arch/i386/kernel/head.S	2004-04-01 22:22:55.000000000 +0200
@@ -299,7 +299,7 @@
 	jmp L6
 1:
 #endif /* CONFIG_SMP */
-	call start_kernel
+	call main
 L6:
 	jmp L6			# main should never return here, but
 				# just in case, we know what happens.
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

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

end of thread, other threads:[~2004-04-01 21:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-01 20:49 [Kernel-janitors] [patch] fix kernel start maximilian attems
2004-04-01 20:55 ` Matthew Wilcox
2004-04-01 20:56 ` maximilian attems
2004-04-01 20:58 ` Matthew Wilcox
2004-04-01 21:01 ` maximilian attems

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.