[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: bogous binfmt_misc patch in 2.2.0-pre1
From:       Horst von Brand <vonbrand () sleipnir ! valparaiso ! cl>
Date:       1999-01-02 17:40:05
[Download RAW message or body]

Linus Torvalds <torvalds@transmeta.com> said:

[...]

> 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. 
> 
> Yes, it might cause a few unnecessary functions to be compiled that aren't
> actually ever used and thus wasting a few hundred bytes of memory, but I'd
> _much_ prefer a clean kernel that doesn't have to worry about spurious
> config options all over the place.

Just #define them to empty or (<some magic constant>) then in the affected
*.h files.
-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

-
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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic