Skip to contentSkip to conversation

removing compilation warning comming from <asm/irq.h>

PATCH RESEND New Viresh KUMAR 2 participants 2 messages Mar 26, 2010 – Apr 12, 2010 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 removing compilation warning comming from <asm/irq.h>

irq.h is using struct pt_regs *. Due to this compilation warning is comming. Removing this warning by adding declaration of struct pt_regs.

---
 arch/arm/include/asm/irq.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/include/asm/irq.h +1 -0
index 328f14a..237282f 100644
@@ -17,6 +17,7 @@
 
 #ifndef __ASSEMBLY__
 struct irqaction;
+struct pt_regs;
 extern void migrate_irqs(void);
 
 extern void asm_do_IRQ(unsigned int, struct pt_regs *);
Signature · 1 line
1.6.0.2
#1 lore raw

PATCH RESEND 1/1 removing compilation warning comming from <asm/irq.h>

Quoted 5 lines · Viresh KUMAR

irq.h is using struct pt_regs *. Due to this compilation warning is comming. Removing this warning by adding declaration of struct pt_regs.

Much better, thanks.