public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Re: exporting __cpu_physical_id
@ 2001-05-21 18:38 David Mosberger
  2001-05-21 22:22 ` Erich Focht
  0 siblings, 1 reply; 2+ messages in thread
From: David Mosberger @ 2001-05-21 18:38 UTC (permalink / raw)
  To: linux-ia64

I assume you're using cpu_physical_id() in your code?  I don't mind
exporting the physical id array, but Asit sent me an SMP cleanup patch
which renames __cpu_physical_id to ia64_cpu_to_sapicid, so the actual
name exported will be different.  As long as your code uses
cpu_physical_id(), you'll be fine, though.

	--david

>>>>> On Mon, 21 May 2001 17:33:17 +0200 (MEST), Erich Focht <focht@ess.nec.de> said:

  Erich> Hello, does anything speak against adding the line

  Erich> EXPORT_SYMBOL(__cpu_physical_id);

  Erich> somewhere into arch/ia64/kernel/smp.c ?  I'd need to use the
  Erich> hardware CPU IDs from within a loadable module and I didn't
  Erich> find any other 'exported' function or array with the needed
  Erich> information...

  Erich> Thanks in advance!

  Erich> Best regards, Erich


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Linux-ia64] Re: exporting __cpu_physical_id
  2001-05-21 18:38 [Linux-ia64] Re: exporting __cpu_physical_id David Mosberger
@ 2001-05-21 22:22 ` Erich Focht
  0 siblings, 0 replies; 2+ messages in thread
From: Erich Focht @ 2001-05-21 22:22 UTC (permalink / raw)
  To: linux-ia64

OK, ia64_cpu_to_sapicid sounds good, too, if it's exported! Thanks for the
warning...

Regards,
Erich

On Mon, 21 May 2001, David Mosberger wrote:

> I assume you're using cpu_physical_id() in your code?  I don't mind
> exporting the physical id array, but Asit sent me an SMP cleanup patch
> which renames __cpu_physical_id to ia64_cpu_to_sapicid, so the actual
> name exported will be different.  As long as your code uses
> cpu_physical_id(), you'll be fine, though.
> 
> 	--david
> 
> >>>>> On Mon, 21 May 2001 17:33:17 +0200 (MEST), Erich Focht <focht@ess.nec.de> said:
> 
>   Erich> Hello, does anything speak against adding the line
> 
>   Erich> EXPORT_SYMBOL(__cpu_physical_id);
> 
>   Erich> somewhere into arch/ia64/kernel/smp.c ?  I'd need to use the
>   Erich> hardware CPU IDs from within a loadable module and I didn't
>   Erich> find any other 'exported' function or array with the needed
>   Erich> information...
> 
>   Erich> Thanks in advance!
> 
>   Erich> Best regards, Erich



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-21 22:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-21 18:38 [Linux-ia64] Re: exporting __cpu_physical_id David Mosberger
2001-05-21 22:22 ` Erich Focht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox