public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Re: #ifdef missing in linux/irq_cpustat.h
@ 2001-12-26 22:19 David Mosberger
  0 siblings, 0 replies; only message in thread
From: David Mosberger @ 2001-12-26 22:19 UTC (permalink / raw)
  To: linux-ia64

>>>>> On Wed, 19 Dec 2001 18:57:46 +0100 (MET), Erich Focht <efocht@ess.nec.de> said:

  Erich> Hi David, as far as I understand the type irq_cpustat_t is
  Erich> not defined on IA64 therefore the line (in
  Erich> include/linux/irq_cpustat.h):

  Erich> extern irq_cpustat_t irq_stat[]; /* defined in asm/hardirq.h
  Erich> */

  Erich> should probably be inside an #ifndef CONFIG_IA64 block...

Technically, you're correct.  But I don't think the extra declaration
hurts anything.  It is a platform-independent file, so I'm reluctant
to add an #ifdef.  I am working on getting the per-CPU data changes
accepted into the main line tree, but the going is very slow (Linus is
focusing on the bio stuff).  Actually, if someone has a good idea of
implementing fast local access to per-CPU data on x86, I'm all ears,
as this would help getting the changes accepted into the main tree.  I
assume the Sequent/IBM folks have solved this problem for their x86
NUMA machines already?

	--david


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-12-26 22:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-26 22:19 [Linux-ia64] Re: #ifdef missing in linux/irq_cpustat.h David Mosberger

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