blob: bab3b1393ad4306b61c6a8a3ba766ee847b1bb8e [file] [log] [blame]
Michal Simekeedbdab2009-03-27 14:25:49 +01001/*
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
Grant Likely2462bac2012-01-26 14:10:13 -070012#define NR_IRQS (32 + 1)
Remis Lima Baima0a584582009-06-18 19:55:33 +020013#include <asm-generic/irq.h>
Michal Simekeedbdab2009-03-27 14:25:49 +010014
Michal Simekeedbdab2009-03-27 14:25:49 +010015struct pt_regs;
16extern void do_IRQ(struct pt_regs *regs);
17
Grant Likely2462bac2012-01-26 14:10:13 -070018/* should be defined in each interrupt controller driver */
19extern unsigned int get_irq(void);
Michal Simekc6ba01a2010-01-14 15:16:31 +010020
Michal Simekeedbdab2009-03-27 14:25:49 +010021#endif /* _ASM_MICROBLAZE_IRQ_H */