x86/64 and oprofile [was Re: Linux 2.6.4-rc1]

From: Philippe Elie
Date: Sat Feb 28 2004 - 00:27:58 EST


On Fri, 27 Feb 2004 at 15:03 +0000, Linus Torvalds wrote:

> o Allow P4 oprofile code for x86-64

P4 oprofile needs cpu_sibling_map and smp_num_siblings, the later
was not exported

regards,
Phil

===== arch/x86_64/kernel/x8664_ksyms.c 1.25 vs edited =====
--- 1.25/arch/x86_64/kernel/x8664_ksyms.c Wed Feb 25 16:06:01 2004
+++ edited/arch/x86_64/kernel/x8664_ksyms.c Sat Feb 28 06:10:55 2004
@@ -196,6 +196,7 @@

#ifdef CONFIG_SMP
EXPORT_SYMBOL(cpu_sibling_map);
+EXPORT_SYMBOL(smp_num_siblings);
#endif

extern void do_softirq_thunk(void);
-
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/