lkml.org 
[lkml]   [2004]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.4.25-rc2 export smp_num_siblings cpu_sibling_map
Hi,

With 2.4 oprofile is built as an out of tree driver. I backported P4 HT
support from 2.6 to our driver but it needs these two export to work.

Any problem to apply this for 2.4.25 (or later if it's too late for .25) ?

regards,
Phil


diff -X dontdiff -urpN linux-2.4-orig/arch/i386/kernel/i386_ksyms.c linux-2.4/arch/i386/kernel/i386_ksyms.c
--- linux-2.4-orig/arch/i386/kernel/i386_ksyms.c 2003-12-03 13:01:44.000000000 +0000
+++ linux-2.4/arch/i386/kernel/i386_ksyms.c 2004-02-13 23:07:53.000000000 +0000
@@ -146,6 +146,10 @@ EXPORT_SYMBOL(smp_call_function);

/* TLB flushing */
EXPORT_SYMBOL(flush_tlb_page);
+
+/* HT support */
+EXPORT_SYMBOL(smp_num_siblings);
+EXPORT_SYMBOL(cpu_sibling_map);
#endif

#ifdef CONFIG_X86_IO_APIC
-
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 14:00    [W:0.040 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site