Re: [2.6 patch] unexport __print_symbol

From: Adrian Bunk
Date: Mon Apr 25 2005 - 18:04:12 EST


On Sat, Apr 23, 2005 at 04:35:18PM -0700, Andrew Morton wrote:
> Adrian Bunk <bunk@xxxxxxxxx> wrote:
> >
> > I didn't find any possible modular usage in the kernel.
> >
>
> Making print_symbol() available to modules during their development might
> aid that development. Presumably, such debug code would not appear in the
> mainline tree.
>
> IOW: people might want to use print_symbol() during private development, so
> we should continue to export it to modules.

If you need it during private development, you can always re-add it in
your private tree.

And the possibility of such debug code accidentially getting into
mainline drops to zero if the EXPORT_SYMBOL isn't there.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

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