All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Ornati <ornati@despammed.com>
To: John Gluck <jgluckca@netscape.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: question about setup.c
Date: Fri, 26 Dec 2003 11:47:31 +0100	[thread overview]
Message-ID: <200312261147.31179.ornati@despammed.com> (raw)
In-Reply-To: <3FE88CE8.1020109@netscape.net>

On Tuesday 23 December 2003 19:43, John Gluck wrote:
> Hi
>
> I've been poking around the kernel startup code to try and understand
> the sequence of events. I came across something I don't understand and
> which might be redundant.
>
> This is from the 2.6.0 kernel:
>
> In arch/i386/kernel/setup.c the parse_cmdline_early() function, the
> argument "mem=XXX[kKmM]" is parsed.
>
> In arch/sh/kernel/setup.c the parse_cmdline() function also parses
> "mem=XXX[kKmM]"
>
> Could someone please explain this.

This is because they are two different architectures!
If you are compiling for i386 you aren't compiling for any other 
architecture, and vice versa!

IOW: only one subdirectory of "linux/arch" is used for each compilation.

>
> I am not subscribed to this list so a reply directly to me would be
> appreciated.
>
> Thanks and a Merry Christmas to everyone
>
> John
>

BYE

-- 
	Paolo Ornati
	Linux v2.4.23


      reply	other threads:[~2003-12-26 10:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-23 18:43 question about setup.c John Gluck
2003-12-26 10:47 ` Paolo Ornati [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=200312261147.31179.ornati@despammed.com \
    --to=ornati@despammed.com \
    --cc=jgluckca@netscape.net \
    --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 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.