Re: [2.6 patch] mm/mmzone.c: EXPORT_UNUSED_SYMBOL

From: Andrew Morton
Date: Fri Jun 30 2006 - 23:37:52 EST


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

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

for_each_zone() and for_each_online_pgdat() need this. So the export is an
internal implementation detail to support those macros. Those macros are
reasonable(ish) things to be doing from modules - could be that people
are using for_each_zone() already.

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

Ditto

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

Tritto.

We could give it a whizz, but I'd expect that we'll end up dropping it.
But then again, zones are fairly low-level things. Let's give it a try.
-
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/