public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Philippe Elie <phil.el@wanadoo.fr>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Cc: linux-kernel@vger.kernel.org, John Levon <levon@movementarian.org>
Subject: [PATCH] 2.4.25-rc2 export smp_num_siblings cpu_sibling_map
Date: Sat, 14 Feb 2004 01:47:45 +0000	[thread overview]
Message-ID: <20040214014745.GA470@zaniah> (raw)

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

             reply	other threads:[~2004-02-14  0:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-14  1:47 Philippe Elie [this message]
2004-02-16 13:10 ` [PATCH] 2.4.25-rc2 export smp_num_siblings cpu_sibling_map Marcelo Tosatti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040214014745.GA470@zaniah \
    --to=phil.el@wanadoo.fr \
    --cc=levon@movementarian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox