patch-2.1.115 linux/include/asm-sparc/irq.h

Next file: linux/include/asm-sparc/linux_logo.h
Previous file: linux/include/asm-sparc/elf.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.114/linux/include/asm-sparc/irq.h linux/include/asm-sparc/irq.h
@@ -1,4 +1,4 @@
-/* $Id: irq.h,v 1.22 1998/02/05 14:20:05 jj Exp $
+/* $Id: irq.h,v 1.25 1998/06/04 09:55:04 jj Exp $
  * irq.h: IRQ registers on the Sparc.
  *
  * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
@@ -12,16 +12,10 @@
 #include <asm/system.h>     /* For NCPUS */
 #include <asm/btfixup.h>
 
-/* This is used for sun4d */
-struct devid_cookie {
-        /* Caller specifies these. */
-        void            *real_dev_id;           /* What dev_id would usually contain. */
-        void            *bus_cookie;            /* linux_sbus_device *, etc. */
-        /* Return values. */
-        unsigned int    ret_ino;
-};
-
-#define SA_DCOOKIE      0x10000
+#define __irq_ino(irq) irq
+#define __irq_pil(irq) irq
+BTFIXUPDEF_CALL(char *, __irq_itoa, unsigned int)
+#define __irq_itoa(irq) BTFIXUP_CALL(__irq_itoa)(irq)
 
 #define NR_IRQS    15
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov