Skip to contentSkip to conversation

arc:irqchip: prepare for drivers/irqchip/irqchip.h removal

PATCH In review Joël Porquet 3 participants 3 messages Jul 7, 2015 – Jul 8, 2015 Synopsys ARC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 3/5 arc:irqchip: prepare for drivers/irqchip/irqchip.h removal

The IRQCHIP_DECLARE macro migrated to 'include/linux/irqchip.h'.

See commit 91e20b5040c67c51aad88cf87db4305c5bd7f79d ("irqchip: Move IRQCHIP_DECLARE macro to include/linux/irqchip.h").

This patch removes the inclusions of private header 'drivers/irqchip/irqchip.h' and if necessary replaces them with inclusions of 'include/linux/irqchip.h'.

---
 arch/arc/kernel/intc-arcv2.c   | 1 -
 arch/arc/kernel/intc-compact.c | 1 -
 arch/arc/kernel/mcip.c         | 1 -
 3 files changed, 3 deletions(-)
arch/arc/kernel/intc-arcv2.c +0 -1
index 6208c63..26c1568 100644
@@ -12,7 +12,6 @@
 #include <linux/of.h>
 #include <linux/irqdomain.h>
 #include <linux/irqchip.h>
-#include "../../drivers/irqchip/irqchip.h"
 #include <asm/irq.h>
 
 /*
arch/arc/kernel/intc-compact.c +0 -1
index fcdddb6..039fac3 100644
@@ -12,7 +12,6 @@
 #include <linux/of.h>
 #include <linux/irqdomain.h>
 #include <linux/irqchip.h>
-#include "../../drivers/irqchip/irqchip.h"
 #include <asm/irq.h>
 
 /*
arch/arc/kernel/mcip.c +0 -1
index 30284e8..2673975 100644
@@ -175,7 +175,6 @@ void mcip_init_early_smp(void)
 #include <linux/irqchip.h>
 #include <linux/of.h>
 #include <linux/of_irq.h>
-#include "../../drivers/irqchip/irqchip.h"
 
 /*
  * Set the DEST for @cmn_irq to @cpu_mask (1 bit per core)
Signature · 1 line
2.4.5
Acked-by on v1 3/5
#1 lore raw

On Wednesday 08 July 2015 02:45 AM, Joël Porquet wrote:

The IRQCHIP_DECLARE macro migrated to 'include/linux/irqchip.h'.

See commit 91e20b5040c67c51aad88cf87db4305c5bd7f79d ("irqchip: Move IRQCHIP_DECLARE macro to include/linux/irqchip.h").

This patch removes the inclusions of private header 'drivers/irqchip/irqchip.h' and if necessary replaces them with inclusions of 'include/linux/irqchip.h'.

Joel, Thomas : Do you want me to pick this one up ?

Thx,
-Vineet

#2 lore raw
Quoted 7 lines · Vineet Gupta

On Wednesday 08 July 2015 02:45 AM, Joël Porquet wrote:

The IRQCHIP_DECLARE macro migrated to 'include/linux/irqchip.h'.

See commit 91e20b5040c67c51aad88cf87db4305c5bd7f79d ("irqchip: Move IRQCHIP_DECLARE macro to include/linux/irqchip.h").

Quoted 8 lines

This patch removes the inclusions of private header 'drivers/irqchip/irqchip.h' and if necessary replaces them with inclusions of 'include/linux/irqchip.h'.

Joel, Thomas : Do you want me to pick this one up ?

Yes.

Btw, feel glad, that Joel figured this include '../../....' crap out and not me. I certainly wouldn't have written a purely technical changelog. include '../../....' is wrong in 99% of the cases.

Thanks,

tglx