linux/arch/microblaze/include/asm/irq.h
<<
>>
Prefs
   1/*
   2 * Copyright (C) 2006 Atmark Techno, Inc.
   3 *
   4 * This file is subject to the terms and conditions of the GNU General Public
   5 * License. See the file "COPYING" in the main directory of this archive
   6 * for more details.
   7 */
   8
   9#ifndef _ASM_MICROBLAZE_IRQ_H
  10#define _ASM_MICROBLAZE_IRQ_H
  11
  12#define NR_IRQS 32
  13#include <asm-generic/irq.h>
  14
  15#include <linux/interrupt.h>
  16
  17extern unsigned int nr_irq;
  18
  19#define NO_IRQ (-1)
  20
  21struct pt_regs;
  22extern void do_IRQ(struct pt_regs *regs);
  23
  24/* irq_of_parse_and_map - Parse and Map an interrupt into linux virq space
  25 * @device: Device node of the device whose interrupt is to be mapped
  26 * @index: Index of the interrupt to map
  27 *
  28 * This function is a wrapper that chains of_irq_map_one() and
  29 * irq_create_of_mapping() to make things easier to callers
  30 */
  31struct device_node;
  32extern unsigned int irq_of_parse_and_map(struct device_node *dev, int index);
  33
  34/** FIXME - not implement
  35 * irq_dispose_mapping - Unmap an interrupt
  36 * @virq: linux virq number of the interrupt to unmap
  37 */
  38static inline void irq_dispose_mapping(unsigned int virq)
  39{
  40        return;
  41}
  42
  43#endif /* _ASM_MICROBLAZE_IRQ_H */
  44
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.