powerpc: export ppc_proc_freq and ppc_tb_freq as GPL symbols
authorTimur Tabi <timur@freescale.com>
Mon, 20 Sep 2010 16:23:41 +0000 (11:23 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 14 Oct 2010 05:52:43 +0000 (00:52 -0500)
commit55ec2fca3e99f83b5c674e9aba713d848392f6cc
tree68876ba3cd0a4fe71a78d85fac0c4cd6acb21f6f
parentb8f44ec2c05f9cfe1647173ac60c0cccb1118c91
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: Timur Tabi <timur@freescale.com>
Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/time.c