removing compilation warning comming from <asm/irq.h>
PATCH 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 | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/include/asm/irq.h +2 -0
@@ -3,6 +3,8 @@#include <mach/irqs.h> +struct pt_regs ; +#ifndef irq_canonicalize#define irq_canonicalize (i) (i)#endif
Signature · 1 line
1.6.0.2
PATCH 1/1 removing compilation warning comming from <asm/irq.h>
Quoted 3 lines · Viresh KUMAR
irq.his using structpt_regs*. Due to this compilation warning is comming. Removing this warning by adding declaration of structpt_regs.
That's badly placed. Please re-read the file and place it in a more appropriate location.
PATCH 1/1 removing compilation warning comming from <asm/irq.h>
Quoted 8 lines · Russell King - ARM Linux
Quoted 3 lines · Viresh KUMAR
irq.his using structpt_regs*. Due to this compilation warning is comming. Removing this warning by adding declaration of structpt_regs.That's badly placed. Please re-read the file and place it in a more appropriate location.
OK.