Re: [2.6 patch] unexport __print_symbol

From: Andrew Morton
Date: Sat Apr 23 2005 - 18:41:12 EST


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.


>
> --- linux-2.6.11-rc5-mm1-full/kernel/kallsyms.c.old 2005-03-04 00:49:34.000000000 +0100
> +++ linux-2.6.11-rc5-mm1-full/kernel/kallsyms.c 2005-03-04 00:49:49.000000000 +0100
> @@ -408,4 +408,3 @@
> }
> __initcall(kallsyms_init);
>
> -EXPORT_SYMBOL(__print_symbol);
-
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/