[PATCH 1/2] powerpc: export ppc_tb_freq so that modules can reference it

Timur Tabi timur at freescale.com
Sat Sep 18 11:20:31 EST 2010


On Fri, Sep 17, 2010 at 7:38 PM, Josh Boyer <jwboyer at gmail.com> wrote:

>>  unsigned long ppc_proc_freq;
>>  EXPORT_SYMBOL(ppc_proc_freq);
>>  unsigned long ppc_tb_freq;
>> +EXPORT_SYMBOL(ppc_tb_freq);
>
> EXPORT_SYMBOL_GPL probably, no?

I don't see any reason to limit it to GPL drivers.  Not only that, but
then we'll have this:

EXPORT_SYMBOL(ppc_proc_freq);
EXPORT_SYMBOL_GPL(ppc_tb_freq);

That just looks dumb.


-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the Linuxppc-dev mailing list