root/include/asm-sparc/irq.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _ALPHA_IRQ_H
   2 #define _ALPHA_IRQ_H
   3 
   4 /*
   5  *      linux/include/asm-sparc/irq.h
   6  *
   7  *      Copyright (C) 1994 David S. Miller (davem@caip.rutgers.edu)
   8  */
   9 
  10 #include <linux/linkage.h>
  11 
  12 extern void disable_irq(unsigned int);
  13 extern void enable_irq(unsigned int);
  14 
  15 #define __STR(x) #x
  16 #define STR(x) __STR(x)
  17  
  18 #define SAVE_ALL "xx"
  19 
  20 #define SAVE_MOST "yy"
  21 
  22 #define RESTORE_MOST "zz"
  23 
  24 #define ACK_FIRST(mask) "aa"
  25 
  26 #define ACK_SECOND(mask) "dummy"
  27 
  28 #define UNBLK_FIRST(mask) "dummy"
  29 
  30 #define UNBLK_SECOND(mask) "dummy"
  31 
  32 #define IRQ_NAME2(nr) nr##_interrupt(void)
  33 #define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr)
  34 #define FAST_IRQ_NAME(nr) IRQ_NAME2(fast_IRQ##nr)
  35 #define BAD_IRQ_NAME(nr) IRQ_NAME2(bad_IRQ##nr)
  36         
  37 #define BUILD_IRQ(chip,nr,mask) \
  38 asmlinkage void IRQ_NAME(nr); \
  39 asmlinkage void FAST_IRQ_NAME(nr); \
  40 asmlinkage void BAD_IRQ_NAME(nr); \
  41 asm code comes here
  42 
  43 #endif

/* [previous][next][first][last][top][bottom][index][help] */