Re: [PATCH] x86/mm: Export cpu_tlbstate as non-GPL symbol

From: Thomas Gleixner
Date: Sun Sep 27 2015 - 06:48:07 EST


On Thu, 24 Sep 2015, Andy Lutomirski wrote:
> On Sep 22, 2015 11:58 AM, "Thomas Gleixner" <tglx@xxxxxxxxxxxxx> wrote:
> >
> > On Tue, 22 Sep 2015, Andy Lutomirski wrote:
> > > On Tue, Sep 22, 2015 at 11:51 AM, James Forcier <csssuf@xxxxxxxxxx> wrote:
> > > > Exporting cpu_tlbstate as a GPL symbol was introduced in 1e02ce4c; however, this
> > > > breaks non-GPL modules which need to link against it, particularly the AMD
> > > > Catalyst drivers.
> > >
> > > What is AMD Catalyst doing with cpu_tlbstate?
> >
> > Fiddling with it behind the kernels back. Out of tree graphic drivers
> > always have their special needs. Just lookup the discussions about
> > unexporting init_mm ....
>
> Look for kcl_mem_pat_setup here:
>
> https://github.com/kolasa/fglrx-13.152/blob/master/firegl_public.c

I stopped looking at this line:

MODULE_LICENSE("GPL\0Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY");

Thanks,

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