Re: [PATCH] Make sysctl vm subdir dependent on CONFIG_MMU

From: Miles Bader (miles@gnu.org)
Date: Mon Feb 17 2003 - 09:09:44 EST


On Mon, Feb 17, 2003 at 12:55:04PM +0000, Christoph Hellwig wrote:
> These ifdefs are ugly - please move the whole table into a file that
> isn't compiled when CONFIG_MMU isn't set (e.g. memory.c) and use
> register_sysctl_table()

Hmm, somehow I thought you were going to say that ... :-)

Either way is OK with me, but note that I just followed the style already
used in sysctl.c for CONFIG_NET.

-Miles

-- 
Saa, shall we dance?  (from a dance-class advertisement)
-
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/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:17 EST