lkml.org 
[lkml]   [2002]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][2.4-AC] export smp_num_siblings
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/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.073 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site