Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
irq.h
Go to the documentation of this file.
1 /* ASB2364 FPGA irq numbers
2  *
3  * Copyright (C) 2010 Red Hat, Inc. All Rights Reserved.
4  * Written by David Howells ([email protected])
5  *
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.
10  */
11 #ifndef _UNIT_IRQ_H
12 #define _UNIT_IRQ_H
13 
14 #ifndef __ASSEMBLY__
15 
16 #ifdef CONFIG_SMP
17 #define NR_CPU_IRQS GxICR_NUM_EXT_IRQS
18 #else
19 #define NR_CPU_IRQS GxICR_NUM_IRQS
20 #endif
21 
22 enum {
30 };
31 
32 extern void __init irq_fpga_init(void);
33 
34 #endif /* !__ASSEMBLY__ */
35 #endif /* _UNIT_IRQ_H */