lkml.org 
[lkml]   [2003]   [Jan]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.073 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site