Commit 55ec2fca authored by Timur Tabi's avatar Timur Tabi Committed by Kumar Gala

powerpc: export ppc_proc_freq and ppc_tb_freq as GPL symbols

Export the global variable 'ppc_tb_freq', so that modules (like the Book-E
watchdog driver) can use it.  To maintain consistency, ppc_proc_freq is
changed to a GPL-only export.  This is okay, because any module that needs
this symbol should be an actual Linux driver, which must be GPL-licensed.
Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
Acked-by: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent b8f44ec2
...@@ -161,8 +161,9 @@ extern struct timezone sys_tz; ...@@ -161,8 +161,9 @@ extern struct timezone sys_tz;
static long timezone_offset; static long timezone_offset;
unsigned long ppc_proc_freq; unsigned long ppc_proc_freq;
EXPORT_SYMBOL(ppc_proc_freq); EXPORT_SYMBOL_GPL(ppc_proc_freq);
unsigned long ppc_tb_freq; unsigned long ppc_tb_freq;
EXPORT_SYMBOL_GPL(ppc_tb_freq);
#ifdef CONFIG_VIRT_CPU_ACCOUNTING #ifdef CONFIG_VIRT_CPU_ACCOUNTING
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment