Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev



On Thu, Dec 01, 2011 at 05:50:14PM +0000, David Laight wrote:
> I'd rather the .c file wasn't polluted with #ifdefs.
> Probably better to #define fss_compat_ioctl(...) EINVAL somewhere.
> 
> We ought to sort out a way of making the compat code loadable
> - in which case this would need to be a real function call
> (possibly an indirect one).

I'm not sure bloating the kernel and infrastrucure with functions call,
functions pointer and others to be able to compile out 4 lines of code
is worth it.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index