Re: [2.6 PATCH] Exporting mmu_cr4_features again for i386 & x86_64

From: Andrew Morton
Date: Thu Jun 29 2006 - 07:06:53 EST


On Thu, 29 Jun 2006 12:55:36 +0200
Andi Kleen <ak@xxxxxxx> wrote:

> On Thursday 29 June 2006 01:01, Milena Milenkovic wrote:
> > Hi all,
> >
> > The mmu_cr4_features variable was "unexported" in 2.6.12 kernel
> > (A patch submitted by Adrian Bunk, [2.6 patch] unexport mmu_cr4_features).
>
> Normal policy is to unexport symbols that are not used in the core
> kernel.
>
> However I think there is a deprecation policy with prior
> warning that might not have been followed here.

We have EXPORT_UNUSED_SYMBOL() and EXPORT_UNUSED_SYMBOL_GPL() as of this
morning. We can convert unused exports to use those and users will get a
nasty warning at modprobe-time when they use the exported symbols.

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