lkml.org 
[lkml]   [2003]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: question about setup.c
Date
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.023 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site