OMAP: Add new function to check wether there is irq pending
[linux-ginger.git] / arch / mn10300 / proc-mn103e010 / include / proc / irq.h
blobaa6ee8f98b1b582fde1c7dc1afbebe86616b4de1
1 /* MN103E010 On-board interrupt controller numbers
3 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public Licence
8 * as published by the Free Software Foundation; either version
9 * 2 of the Licence, or (at your option) any later version.
12 #ifndef _ASM_PROC_IRQ_H
13 #define _ASM_PROC_IRQ_H
15 #ifdef __KERNEL__
17 #define GxICR_NUM_IRQS 42
19 #define GxICR_NUM_XIRQS 8
21 #define XIRQ0 34
22 #define XIRQ1 35
23 #define XIRQ2 36
24 #define XIRQ3 37
25 #define XIRQ4 38
26 #define XIRQ5 39
27 #define XIRQ6 40
28 #define XIRQ7 41
30 #define XIRQ2IRQ(num) (XIRQ0 + num)
32 #endif /* __KERNEL__ */
34 #endif /* _ASM_PROC_IRQ_H */