Messages in this thread | | | From | David Mosberger <> | Date | Thu, 23 May 2002 09:14:14 -0700 | Subject | Re: ia64 code having CONFIG_X86_LOCAL_APIC |
| |
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/ - 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/
| |