Re: [PATCH] more procfs bits for !CONFIG_MMU

From: Linus Torvalds (torvalds@transmeta.com)
Date: Wed Jan 01 2003 - 19:32:49 EST


On Wed, 1 Jan 2003, Christoph Hellwig wrote:
>
> I can add an empty stub function, but that doesn't help to reduce the
> ifdef mess as there is no /proc/<pid>/maps on nommu at all so we don't
> have the struct file_operations and more important can't register it.

So change it. I'd rather have an empty /proc/pid/maps than have the
general code have #ifdef's.

Or make /proc more dynamic, although I don't think it's necessarily worth
it unless it would be part of a generic dentry'ification (the devfs work
is all well and good, but /proc has been around even longer).

                Linus

-
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 : Tue Jan 07 2003 - 22:00:16 EST