[PATCH] 2.4.25-rc2 export smp_num_siblings cpu_sibling_map

From: Philippe Elie (phil.el_at_wanadoo.fr)
Date: 02/14/04

  • Next message: Andrew Morton: "Re: [PATCH] syscalls.h update #9 (open/close)"
    Date:	Sat, 14 Feb 2004 01:47:45 +0000
    To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
    
    

    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/


  • Next message: Andrew Morton: "Re: [PATCH] syscalls.h update #9 (open/close)"

    Relevant Pages

    • Re: partition weirdness
      ... > Does the kernel have support for sun partition tables built in? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: compile fix 2.6.15-rc1-mm1 + EXPERIMENTAL+ CONFIG_SPARSEMEM + X86_PC
      ... > Please always include the text of the error messages when fixing compile ... # Firmware Drivers ... # ACPI Support ...
      (Linux-Kernel)
    • Re: swsusp: revert to 2.6.0-test3 state
      ... That would be a minimal patch. ... image of RAM, support for highmem, swap files, full asynchronous I/O, ... Nigel Cunningham ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Stop the Linux kernel madness
      ... We don't have the man power, hardware, nor the support ... "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] custom PM support for 8250
      ... Grigory Tolstolytkin wrote: ... > now I'm successful with the PM support for my own serial8250 driver. ... > Are you planning to commit the Vitlaly's changes into the mainstream? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)