Commit 428fef8a authored by Rob Herring's avatar Rob Herring

ARM: GIC: remove assembly ifdefs from gic.h

With multi irq handler and all GIC users converted to it, we don't need
asm/hardware/gic.h to be included in assembly. Clean-up ifdefs and
unnecessary includes.
Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
Acked-by: default avatarOlof Johansson <olof@lixom.net>
parent 902ef5d7
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
#ifndef __ASM_ARM_HARDWARE_GIC_H #ifndef __ASM_ARM_HARDWARE_GIC_H
#define __ASM_ARM_HARDWARE_GIC_H #define __ASM_ARM_HARDWARE_GIC_H
#include <linux/compiler.h>
#define GIC_CPU_CTRL 0x00 #define GIC_CPU_CTRL 0x00
#define GIC_CPU_PRIMASK 0x04 #define GIC_CPU_PRIMASK 0x04
#define GIC_CPU_BINPOINT 0x08 #define GIC_CPU_BINPOINT 0x08
...@@ -32,8 +30,6 @@ ...@@ -32,8 +30,6 @@
#define GIC_DIST_CONFIG 0xc00 #define GIC_DIST_CONFIG 0xc00
#define GIC_DIST_SOFTINT 0xf00 #define GIC_DIST_SOFTINT 0xf00
#ifndef __ASSEMBLY__
#include <linux/irqdomain.h>
struct device_node; struct device_node;
extern struct irq_chip gic_arch_extn; extern struct irq_chip gic_arch_extn;
...@@ -53,5 +49,3 @@ static inline void gic_init(unsigned int nr, int start, ...@@ -53,5 +49,3 @@ static inline void gic_init(unsigned int nr, int start,
} }
#endif #endif
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment