[PATCH] Fix typo in x86-64 fix

From: Andi Kleen
Date: Thu Feb 19 2004 - 16:08:16 EST


On Thu, 19 Feb 2004 21:20:02 +0000
Philippe Elie <phil.el@xxxxxxxxxx> wrote:

> On Fri, 20 Feb 2004 at 17:44 +0000, Andi Kleen wrote:
>
> > > > +#ifdef CONFIG_SMP_
> > >
> > > ^ Isn't this a typo?
> >
> > Indeed. Thanks for catching it.
> >
> > It probably doesn't hurt because I don't know of any module that uses cpu_sibling_map[].
> > I think I just copied the export from i386. Maybe it would be best to just remove it completely.
>
> Andrew added it a few hours ago, oprofile use it.

Ok, Andrew, can you please apply this incremental patch to fix the typo too ?

diff -u linux-2.6.3-amd64/arch/x86_64/kernel/x8664_ksyms.c-o linux-2.6.3-amd64/arch/x86_64/kernel/x8664_ksyms.c
--- linux-2.6.3-amd64/arch/x86_64/kernel/x8664_ksyms.c-o 2004-02-20 15:53:53.000000000 +0100
+++ linux-2.6.3-amd64/arch/x86_64/kernel/x8664_ksyms.c 2004-02-20 20:25:03.000000000 +0100
@@ -194,7 +194,7 @@

EXPORT_SYMBOL(die_chain);

-#ifdef CONFIG_SMP_
+#ifdef CONFIG_SMP
EXPORT_SYMBOL(cpu_sibling_map);
#endif


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