patch-2.3.40 linux/include/asm-i386/hw_irq.h
Next file: linux/include/asm-i386/io_apic.h
Previous file: linux/include/asm-i386/hardirq.h
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Thu Jan 20 16:07:57 2000
- Orig file:
v2.3.39/linux/include/asm-i386/hw_irq.h
- Orig date:
Mon Dec 20 18:48:22 1999
diff -u --recursive --new-file v2.3.39/linux/include/asm-i386/hw_irq.h linux/include/asm-i386/hw_irq.h
@@ -89,26 +89,8 @@
extern char _stext, _etext;
-#define MAX_IRQ_SOURCES 128
-#define MAX_MP_BUSSES 32
-enum mp_bustype {
- MP_BUS_ISA,
- MP_BUS_EISA,
- MP_BUS_PCI
-};
-extern int mp_bus_id_to_type [MAX_MP_BUSSES];
-extern int mp_bus_id_to_pci_bus [MAX_MP_BUSSES];
-
-
-#ifdef __SMP__
#define IO_APIC_IRQ(x) (((x) >= 16) || ((1<<(x)) & io_apic_irqs))
-#else
-
-#define IO_APIC_IRQ(x) (0)
-
-#endif
-
#define __STR(x) #x
#define STR(x) __STR(x)
@@ -134,8 +116,6 @@
"movl %esp, %ebx\n\t" \
"andl $-8192, %ebx\n\t"
-#ifdef __SMP__
-
/*
* SMP has a few special interrupts for IPI messages
*/
@@ -170,8 +150,6 @@
"call "SYMBOL_NAME_STR(smp_##x)"\n\t" \
"addl $4,%esp\n\t" \
"jmp ret_from_intr\n");
-
-#endif /* __SMP__ */
#define BUILD_COMMON_IRQ() \
asmlinkage void call_do_IRQ(void); \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)