fix kernel start
PATCH 1/1 fix kernel start
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
init/main.c +1 -1
@@ -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[];
arch/i386/kernel/head.S +1 -1
@@ -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
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 6 lines · maximilian attems
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.
Signature · 10 lines
"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 [email protected] http://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 2 lines · maximilian attems
^^
Quoted 8 lines
Quoted 6 lines
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
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 4 lines · maximilian attems
Quoted 2 lines · maximilian attems
^^:)
^^^^^^^^^^
Got to be before midday, dude ;-)
Signature · 10 lines
"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 [email protected] http://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 7 lines · Matthew Wilcox
Quoted 4 lines · maximilian attems
Quoted 2 lines · maximilian attems
^^:)
^^^^^^^^^^Got to be before midday, dude ;-)
i loved the warning message:
init/main.c:403: warning: return type of int'
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors