On Fri, Sep 17, 2010 at 6:53 PM, Timur Tabi <ti...@freescale.com> wrote: > Export the global variable 'ppc_tb_freq', so that modules (like the Book-E > watchdog driver) can use it. > > Signed-off-by: Timur Tabi <ti...@freescale.com> > --- > > This export is necessary for the Book-E watchdog driver to be compiled as a > module. Since ppc_proc_freq is already exported, I figured it's okay for > ppc_tb_freq to be exported as well. > > arch/powerpc/kernel/time.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c > index 8533b3b..49aa130 100644 > --- a/arch/powerpc/kernel/time.c > +++ b/arch/powerpc/kernel/time.c > @@ -163,6 +163,7 @@ static long timezone_offset; > 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? josh _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev