Re: bogous binfmt_misc patch in 2.2.0-pre1

MOLNAR Ingo (mingo@chiara.csoma.elte.hu)
Fri, 1 Jan 1999 23:55:25 +0100 (CET)


On Fri, 1 Jan 1999, Linus Torvalds wrote:

> So what I suggested as the real fix is to leave the internal /proc
> interfaces there even if /proc doesn't actually exist: that way, when
> somebody disables /proc in the config, everything else will still happily
> compile as if it was there, it just won't do anything.

yep there are only 40 #if SMP dependencies in the 'main' kernel C files,
and 270 #if PROC_FS dependencies ... thats nonsense.

(the worst #ifdef offender btw. is MODULES, but those are mostly clean and
isolated. Could be solved with a section trick though ...)

-- mingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/