Re: [2.6 patch] kernel/printk.c: EXPORT_SYMBOL_UNUSED

From: Andrew Morton
Date: Fri Jun 30 2006 - 23:36:21 EST


On Fri, 30 Jun 2006 13:31:37 +0200
Adrian Bunk <bunk@xxxxxxxxx> wrote:

> This patch marks unused exports as EXPORT_SYMBOL_UNUSED.
>
> -EXPORT_SYMBOL(console_printk);
> +EXPORT_UNUSED_SYMBOL(console_printk); /* June 2006 */
> -EXPORT_SYMBOL(is_console_locked);
> +EXPORT_UNUSED_SYMBOL(is_console_locked); /* June 2006 */

OK.

> -EXPORT_SYMBOL(__printk_ratelimit);
> +EXPORT_UNUSED_SYMBOL(__printk_ratelimit); /* June 2006 */

It's a generalised and more useful version of printk_ratelimit() - worth
keeping.

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