Commit | Line | Data |
---|---|---|
34e49164 C |
1 | #include <asm/thread_info.h> |
2 | #include <asm/memory.h> | |
3 | #include <asm/mach/time.h> | |
4 | #include <asm/io.h> | |
5 | #ifdef CONFIG_NKERNEL | |
6 | #include <foo.h> | |
7 | #define CONFIG_NKERNEL_NO_SHARED_IRQ // use local (native) mask/unmask | |
8 | #undef CONFIG_NKERNEL_DEBUG_IRQ | |
9 | #endif | |
10 | ||
11 | static inline void nop(void) { int i; } | |
12 | ||
13 | ||
14 | void init_IRQ(void) | |
15 | { | |
16 | for (irq = 0; irq < IRQS; irq++) { | |
17 | *desc = irq_desc; | |
18 | uselessCall(); | |
19 | } | |
20 | } |