lkml.org 
[lkml]   [2003]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] more procfs bits for !CONFIG_MMU
On Thu, Jan 02, 2003 at 05:35:05PM +0100, Christoph Hellwig wrote:
> On Thu, Jan 02, 2003 at 05:29:56PM +0100, Sam Ravnborg wrote:
> > New Makefile:
> > proc-y := proc_mmu.o
> > proc-$(CONFIG_MMU) := proc_nommu.o
> >
>
> Wouldn't this add proc_mmu.o even if CONFIG_MMU is not y?

Ups, you are right. I thought about CONFIG_NOMMU..
Should read:
proc-y := proc_nommu.o
proc-$(CONFIG_MMU) := proc_mmu.o

If CONFIG_MMU is 'y', then the first assignment is overwritten.

The same principle (pattern?), but with reversed logic.
But this one is not that nice, because the common case overwrite the
un-common case.

Sam
-
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:32    [W:1.246 / U:0.616 seconds]
©2003-2014 Jasper Spaans. Advertise on this site