|
@@ -14,6 +14,8 @@
|
|
#include <linux/bitmap.h>
|
|
#include <linux/bitmap.h>
|
|
#include <linux/threads.h>
|
|
#include <linux/threads.h>
|
|
|
|
|
|
|
|
+#include <irq.h>
|
|
|
|
+
|
|
#undef GICISBYTELITTLEENDIAN
|
|
#undef GICISBYTELITTLEENDIAN
|
|
|
|
|
|
/* Constants */
|
|
/* Constants */
|
|
@@ -22,8 +24,6 @@
|
|
#define GIC_TRIG_EDGE 1
|
|
#define GIC_TRIG_EDGE 1
|
|
#define GIC_TRIG_LEVEL 0
|
|
#define GIC_TRIG_LEVEL 0
|
|
|
|
|
|
-#define GIC_NUM_INTRS (24 + NR_CPUS * 2)
|
|
|
|
-
|
|
|
|
#define MSK(n) ((1 << (n)) - 1)
|
|
#define MSK(n) ((1 << (n)) - 1)
|
|
#define REG32(addr) (*(volatile unsigned int *) (addr))
|
|
#define REG32(addr) (*(volatile unsigned int *) (addr))
|
|
#define REG(base, offs) REG32((unsigned long)(base) + offs##_##OFS)
|
|
#define REG(base, offs) REG32((unsigned long)(base) + offs##_##OFS)
|