Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 1 Jan 2003 16:32:49 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: [PATCH] more procfs bits for !CONFIG_MMU |
| |
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/
| ![\](/images/icornerr.gif) |