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

* Re: [Kernel-janitors] [patch] fix kernel start
  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
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Matthew Wilcox @ 2004-04-01 20:55 UTC (permalink / raw)
  To: kernel-janitors

On Thu, Apr 01, 2004 at 10:49:15PM +0200, maximilian attems wrote:
> 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!

What's the point?  It's a kernel, not a regular C program.

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain
_______________________________________________
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

* Re: [Kernel-janitors] [patch] fix kernel start
  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
  3 siblings, 0 replies; 5+ messages in thread
From: maximilian attems @ 2004-04-01 20:56 UTC (permalink / raw)
  To: kernel-janitors


> On Thu, Apr 01, 2004 at 10:49:15PM +0200, maximilian attems wrote:
	      ^^
> > 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!
> 
> What's the point?  It's a kernel, not a regular C program.

:)

_______________________________________________
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

* Re: [Kernel-janitors] [patch] fix kernel start
  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
  3 siblings, 0 replies; 5+ messages in thread
From: Matthew Wilcox @ 2004-04-01 20:58 UTC (permalink / raw)
  To: kernel-janitors

On Thu, Apr 01, 2004 at 10:56:55PM +0200, maximilian attems wrote:
> 
> > On Thu, Apr 01, 2004 at 10:49:15PM +0200, maximilian attems wrote:
> 	      ^^
> :)
                            ^^^^^^^^^^
Got to be before midday, dude ;-)

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain
_______________________________________________
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

* Re: [Kernel-janitors] [patch] fix kernel start
  2004-04-01 20:49 [Kernel-janitors] [patch] fix kernel start maximilian attems
                   ` (2 preceding siblings ...)
  2004-04-01 20:58 ` Matthew Wilcox
@ 2004-04-01 21:01 ` maximilian attems
  3 siblings, 0 replies; 5+ messages in thread
From: maximilian attems @ 2004-04-01 21:01 UTC (permalink / raw)
  To: kernel-janitors

On Thu, 01 Apr 2004, Matthew Wilcox wrote:

> On Thu, Apr 01, 2004 at 10:56:55PM +0200, maximilian attems wrote:
> > 
> > > On Thu, Apr 01, 2004 at 10:49:15PM +0200, maximilian attems wrote:
> > 	      ^^
> > :)
>                             ^^^^^^^^^^
> Got to be before midday, dude ;-)

i loved the warning message:
 init/main.c:403: warning: return type of int'

_______________________________________________
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.