From: randy_dunlap <rdunlap@xenotime.net>
To: Joilnen Leite <knl_joi@yahoo.com.br>
Cc: linux-kernel@vger.kernel.org
Subject: Re: early_cpu_init
Date: Sat, 25 Jun 2005 16:30:13 -0700 [thread overview]
Message-ID: <20050625163013.548c418a.rdunlap@xenotime.net> (raw)
In-Reply-To: <20050625225546.54532.qmail@web54501.mail.yahoo.com>
On Sat, 25 Jun 2005 19:55:46 -0300 (ART) Joilnen Leite wrote:
| Hi
|
| in the function:
| early_cpu_init we could to change to avoid initialize
| unecessary code ?
|
| arch/i386/cpu/common.c:536
arch/i386/kernel/cpu/common.c
| void __init early_cpu_init(void)
| {
| #ifdef CONFIG_MCYRIXIII
| cyrix_init_cpu();
| #elif defined CONFIG_MGODE6X1
| nsc_init_cpu();
| #elif defined CONFIG_MK6 || defined CONFIG_MK7
| ||defined CONFIG_MK8
| amd_init_cpu();
| #elif defined CONFIG_CRUSOE || defined CONFIG_EFFICEON
| transmeta_init_cpu();
| #elif defined OTHERS_THAT_I_DONT_KNOW
| centaur_init_cpu();
| rise_init_cpu();
| nexgen_init_cpu();
| umc_init_cpu();
| early_cpu_detect();
| #else
| intel_cpu_init();
|
| just only a idea.
AFAIK, it's done without the ifdefs so that a common kernel (like a
distro kernel) can run on any of those CPU types.
---
~Randy
prev parent reply other threads:[~2005-06-25 23:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-25 22:55 early_cpu_init Joilnen Leite
2005-06-25 23:30 ` randy_dunlap [this message]
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=20050625163013.548c418a.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=knl_joi@yahoo.com.br \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®