From: maximilian attems <janitor@sternwelten.at>
To: kernel-janitors@vger.kernel.org
Subject: [Kernel-janitors] [patch] fix kernel start
Date: Thu, 01 Apr 2004 20:49:15 +0000 [thread overview]
Message-ID: <20040401204915.GA2664@sputnik.stro.at> (raw)
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
next reply other threads:[~2004-04-01 20:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-01 20:49 maximilian attems [this message]
2004-04-01 20:55 ` [Kernel-janitors] [patch] fix kernel start Matthew Wilcox
2004-04-01 20:56 ` maximilian attems
2004-04-01 20:58 ` Matthew Wilcox
2004-04-01 21:01 ` maximilian attems
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040401204915.GA2664@sputnik.stro.at \
--to=janitor@sternwelten.at \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.