patch-2.2.11 linux/include/asm-mips/irq.h

Next file: linux/include/asm-mips/jazz.h
Previous file: linux/include/asm-mips/ipc.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.10/linux/include/asm-mips/irq.h linux/include/asm-mips/irq.h
@@ -1,4 +1,4 @@
-/* $Id: irq.h,v 1.4 1998/05/28 03:18:13 ralf Exp $
+/* $Id: irq.h,v 1.5 1999/01/04 16:09:22 ralf Exp $
  *
  * This file is subject to the terms and conditions of the GNU General Public
  * License.  See the file "COPYING" in the main directory of this archive
@@ -10,9 +10,6 @@
 #ifndef __ASM_MIPS_IRQ_H
 #define __ASM_MIPS_IRQ_H
 
-/*
- * Actually this is a lie but we hide the local device's interrupts ...
- */
 #define NR_IRQS 64
 
 #define TIMER_IRQ 0
@@ -20,18 +17,9 @@
 extern int (*irq_cannonicalize)(int irq);
 
 struct irqaction;
-extern int setup_x86_irq(int irq, struct irqaction * new);
+extern int i8259_setup_irq(int irq, struct irqaction * new);
 extern void disable_irq(unsigned int);
 extern void enable_irq(unsigned int);
-
-extern unsigned int local_irq_count[];
-
-#ifdef __SMP__
-#error Send superfluous SMP boxes to ralf@uni-koblenz.de
-#else
-#define irq_enter(cpu, irq)     (++local_irq_count[cpu])
-#define irq_exit(cpu, irq)      (--local_irq_count[cpu])
-#endif
 
 /* Machine specific interrupt initialization  */
 extern void (*irq_setup)(void);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)