Skip to contentSkip to conversation

[2.4] Move common_irq() code to a better place

PATCH New Chuck Ebbert 1 participant 1 message Apr 18, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 [2.4] Move common_irq() code to a better place

This patch moves the common_irq() code to after the first 16
interrupt handler stubs, allowing the first 29 or so stubs to pack better into cache lines. (I sent it to l-k already but didn't label it as a patch.)

--- linux-2.4.20aa1/arch/i386/kernel/i8259.c Tue Sep 18 02:03:09 2001
+++ linux-2.4.20irq/arch/i386/kernel/i8259.c Thu Apr 17 22:22:12 2003
@ -35,8 +35,6 @
* interrupt-controller happy.
*/

-BUILD_COMMON_IRQ()
-

 #define BI(x,y) \
        BUILD_IRQ(x##y)

@ -52,6 +50,8 @
*/
BUILD_16_IRQS(0x0)

+BUILD_COMMON_IRQ()
+
#ifdef CONFIG_X86_IO_APIC
/*
* The IO-APIC gives us many more interrupt sources. Most of these

------
Chuck