Skip to content

Commit 428fef8

Browse files
author
Rob Herring
committed
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: Rob Herring <rob.herring@calxeda.com> Acked-by: Olof Johansson <olof@lixom.net>
1 parent 902ef5d commit 428fef8

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • arch/arm/include/asm/hardware

‎arch/arm/include/asm/hardware/gic.h‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
#ifndef __ASM_ARM_HARDWARE_GIC_H
1111
#define __ASM_ARM_HARDWARE_GIC_H
1212

13-
#include <linux/compiler.h>
14-
1513
#define GIC_CPU_CTRL 0x00
1614
#define GIC_CPU_PRIMASK 0x04
1715
#define GIC_CPU_BINPOINT 0x08
@@ -32,8 +30,6 @@
3230
#define GIC_DIST_CONFIG 0xc00
3331
#define GIC_DIST_SOFTINT 0xf00
3432

35-
#ifndef __ASSEMBLY__
36-
#include <linux/irqdomain.h>
3733
struct device_node;
3834

3935
extern struct irq_chip gic_arch_extn;
@@ -53,5 +49,3 @@ static inline void gic_init(unsigned int nr, int start,
5349
}
5450

5551
#endif
56-
57-
#endif

0 commit comments

Comments
 (0)