local_irq.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /*
  2.  *      c 2001 PowerPC 64 Team, IBM Corp
  3.  *
  4.  *      This program is free software; you can redistribute it and/or
  5.  *      modify it under the terms of the GNU General Public License
  6.  *      as published by the Free Software Foundation; either version
  7.  *      2 of the License, or (at your option) any later version.
  8.  */
  9. #ifndef _PPC_KERNEL_LOCAL_IRQ_H
  10. #define _PPC_KERNEL_LOCAL_IRQ_H
  11. #include <linux/kernel_stat.h>
  12. #include <linux/interrupt.h>
  13. #include <linux/cache.h>
  14. #include <linux/spinlock.h>
  15. #include <linux/irq.h>
  16. void ppc_irq_dispatch_handler(struct pt_regs *regs, int irq);
  17. #define NR_MASK_WORDS ((NR_IRQS + 63) / 64)
  18. extern int ppc_spurious_interrupts;
  19. extern int ppc_second_irq;
  20. extern struct irqaction *ppc_irq_action[NR_IRQS];
  21. #endif /* _PPC_KERNEL_LOCAL_IRQ_H */