Re: [2.6 patch] unexport do_settimeofday
From: Andrew Morton
Date: Fri Feb 25 2005 - 18:19:58 EST
Adrian Bunk <bunk@xxxxxxxxx> wrote:
>
> > +#ifdef MODULE
> > +#define __deprecated_in_modules __deprecated
> > +#else
> > +#define __deprecated_in_modules /* OK in non-modular code */
> > +#endif
> > +
> >...
>
> Looks good.
>
>
> One more question:
>
> You get a false positive if the file containing the symbol is itself a
> module.
I don't understand what you mean.
You mean that a module is doing an EXPORT_SYMBOL of a symbol which is on
death row?
If so: err, not sure. I guess we could just live with the warning.
> Is there any way to solve this without additional #define's and #ifdef's
> for each symbol?
Not that I can think of.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/