Skip to contentSkip to conversation

2.4.25-rc2 export smp_num_siblings cpu_sibling_map

PATCH In review Philippe Elie 2 participants 2 messages Feb 14, 2004 – Feb 16, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

arch/i386/kernel/i386_ksyms.c +4 -0
diff -X dontdiff -urpN linux-2.4-orig/arch/i386/kernel/i386_ksyms.c linux-2.4/arch/i386/kernel/i386_ksyms.c
@@ -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
#1 lore raw
Quoted 6 lines · Philippe Elie

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) ?

Queued for 2.4.26pre