On Fri, 2005-02-25 at 02:26 -0700, Andreas Dilger wrote: > On Feb 25, 2005 09:47 +0100, Bartlomiej Zolnierkiewicz wrote: > > On Fri, 25 Feb 2005 00:28:04 -0800, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > > I haven't found any possible modular usage of do_settimeofday in the > > > > kernel. > > > > > > Sure. But there must have been a reason to export it in the first place. > > > > sloppy coding? > > Who knows? Maybe someone developed a kernel module that interfaces to an > unusual clock chip on their motherboard. IMHO, all of this "_I_ don't > see any use for it, lets get rid of it because it's not useful" changing > is just a source of grief for anyone that doesn't have their code in > the kernel.
actually exports cause kernels to be bigger. Some of these exports aren't even used in the kernel entirely, others cause the kernel to be bigger just by being non-static and having the symbol structures there. A lot of them are "you really shouldn't" APIs. By your argument, why bother with exports at all? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

