home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / arm / include / asm / mach / irq.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  774 b   |  35 lines

  1. /*
  2.  *  arch/arm/include/asm/mach/irq.h
  3.  *
  4.  *  Copyright (C) 1995-2000 Russell King.
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License version 2 as
  8.  * published by the Free Software Foundation.
  9.  */
  10. #ifndef __ASM_ARM_MACH_IRQ_H
  11. #define __ASM_ARM_MACH_IRQ_H
  12.  
  13. #include <linux/irq.h>
  14.  
  15. struct seq_file;
  16.  
  17. /*
  18.  * This is internal.  Do not use it.
  19.  */
  20. extern void (*init_arch_irq)(void);
  21. extern void init_FIQ(void);
  22. extern int show_fiq_list(struct seq_file *, void *);
  23.  
  24. /*
  25.  * This is for easy migration, but should be changed in the source
  26.  */
  27. #define do_bad_IRQ(irq,desc)                \
  28. do {                            \
  29.     spin_lock(&desc->lock);                \
  30.     handle_bad_irq(irq, desc);            \
  31.     spin_unlock(&desc->lock);            \
  32. } while(0)
  33.  
  34. #endif
  35.