Messages in this thread | | | From | Paolo Ornati <> | Subject | Re: question about setup.c | Date | Fri, 26 Dec 2003 11:47:31 +0100 |
| |
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/
| |