mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Mosberger <davidm@napali.hpl.hp.com>
To: Ravikiran G Thirumalai <kiran@in.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ia64 code having CONFIG_X86_LOCAL_APIC
Date: Thu, 23 May 2002 09:14:14 -0700	[thread overview]
Message-ID: <15597.5462.306200.74695@napali.hpl.hp.com> (raw)
In-Reply-To: <20020523185719.Z2518@in.ibm.com>

There is a simple reason for this: the goal is (or at least "was")
that irq.c would eventually become platform-independent.  To prepare
for this, I keep the ia64 version of irq.c as much in sync with the
x86 version as possible (actually, I haven't check recently, so there
may have been some divergence while I wasn't watching).  So, yes,
there is some dead code in the ia64 version, but it does serve the
purpose to minimize the differences with the x86 version.

	--david

>>>>> On Thu, 23 May 2002 18:57:20 +0530, Ravikiran G Thirumalai <kiran@in.ibm.com> said:

  Ravikiran> Hi folks, linux-2.5.17/arch/ia64/kernel/irq.c has a
  Ravikiran> #ifdef CONFIG_X86_LOCAL_APIC, but I dont see the config
  Ravikiran> option in any ia64 config.in files.....  wondering if
  Ravikiran> this is just some piece of code which will never be
  Ravikiran> compiled...

  Ravikiran> Also, linux-2.5.17/arch/ia64/kernel/irq.c prints
  Ravikiran> apic_timer_irqs, and they don't seem to be defined for
  Ravikiran> ia64.  The piece of code (irq.c) is also covered by
  Ravikiran> #ifdef CONFIG_X86 wonder if the condition is ever
  Ravikiran> true.....

  Ravikiran> Pls let me know what I am missing

  Ravikiran> disclaimer: I don't know much about ia64

  Ravikiran> Kiran

  Ravikiran> - To unsubscribe from this list: send the line
  Ravikiran> "unsubscribe linux-kernel" in the body of a message to
  Ravikiran> majordomo@vger.kernel.org More majordomo info at
  Ravikiran> http://vger.kernel.org/majordomo-info.html Please read
  Ravikiran> the FAQ at http://www.tux.org/lkml/

--
Interested in learning more about IA-64 Linux?  Try http://www.lia64.org/book/

      reply	other threads:[~2002-05-23 16:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-23 13:27 Ravikiran G Thirumalai
2002-05-23 16:14 ` David Mosberger [this message]

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=15597.5462.306200.74695@napali.hpl.hp.com \
    --to=davidm@napali.hpl.hp.com \
    --cc=davidm@hpl.hp.com \
    --cc=kiran@in.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®