Re: 2.5.45: NTFS unresolved symbol

Sam Ravnborg (sam@ravnborg.org)
Fri, 1 Nov 2002 21:00:42 +0100


On Fri, Nov 01, 2002 at 11:48:48AM -0800, Andrew Morton wrote:
> We have these magical symbols which describe the offset of
> a member of the per-cpu storage, which need to be exposed
> to modules. So I added an EXPORT_PER_CPU_SYMBOL() helper:
>
> #define EXPORT_PER_CPU_SYMBOL(var) EXPORT_SYMBOL(var##__per_cpu)
> #define EXPORT_PER_CPU_SYMBOL_GPL(var) EXPORT_SYMBOL_GPL(var##__per_cpu)

I would expect the following to work:
#define EXPORT_SYMBOL_PER_CPU(var) EXPORT_SYMBOL(var##__per_cpu)
#define EXPORT_SYMBOL_PER_CPU_GPL(var) EXPORT_SYMBOL_GPL(var##__per_cpu)

In this case the magic "EXPORT_SYMBOL" is still present.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/