Re: [PATCH][2.4-AC] export smp_num_siblings

From: Ian Morgan (imorgan@webcon.net)
Date: Tue Nov 19 2002 - 09:23:26 EST


On Tue, 19 Nov 2002, Zwane Mwaikambo wrote:

> On Mon, 18 Nov 2002, Ian Morgan wrote:
>
> > > > c0292e28 D smp_num_siblings
> > > >
> > > > Any clues?
> > >
> > > Is CONFIG_SMP set?
> >
> > Yup.
>
> Can you give this a try.
>
> Index: linux-2.4.20-rc1-ac4/arch/i386/kernel/i386_ksyms.c
> ===================================================================
> RCS file: /build/cvsroot/linux-2.4.20-rc1-ac4/arch/i386/kernel/i386_ksyms.c,v
> retrieving revision 1.1.1.1
> diff -u -r1.1.1.1 i386_ksyms.c
> --- linux-2.4.20-rc1-ac4/arch/i386/kernel/i386_ksyms.c 18 Nov 2002 01:39:49 -0000 1.1.1.1
> +++ linux-2.4.20-rc1-ac4/arch/i386/kernel/i386_ksyms.c 19 Nov 2002 07:11:43 -0000
> @@ -131,6 +131,7 @@
> EXPORT_SYMBOL(cpu_data);
> EXPORT_SYMBOL(kernel_flag_cacheline);
> EXPORT_SYMBOL(smp_num_cpus);
> +EXPORT_SYMBOL(smp_num_siblings);
> EXPORT_SYMBOL(cpu_online_map);
> EXPORT_SYMBOL_NOVERS(__write_lock_failed);
> EXPORT_SYMBOL_NOVERS(__read_lock_failed);

Interesting.. that does it. Now we have:

c0286b53 R __kstrtab_smp_num_siblings
c028e030 R __ksymtab_smp_num_siblings
c0292e28 D smp_num_siblings

and the p4-clockmod module loads OK. Thx.

Now my next step is figuring out how to actually set policy with this thing,
but I'm sure I can manage that one.

Regards,
Ian Morgan

-- 
-------------------------------------------------------------------
 Ian E. Morgan          Vice President & C.O.O.       Webcon, Inc.
 imorgan@webcon.ca          PGP: #2DA40D07           www.webcon.ca
    *  Customized Linux network solutions for your business  *
-------------------------------------------------------------------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:27 EST