All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH resend] removing compilation warning comming from <asm/irq.h>
@ 2010-03-26 10:39 Viresh KUMAR
  2010-04-12 19:44 ` Russell King - ARM Linux
  0 siblings, 1 reply; 2+ messages in thread
From: Viresh KUMAR @ 2010-03-26 10:39 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
---
 arch/arm/include/asm/irq.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/include/asm/irq.h b/arch/arm/include/asm/irq.h
index 328f14a..237282f 100644
--- a/arch/arm/include/asm/irq.h
+++ b/arch/arm/include/asm/irq.h
@@ -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 *);
-- 
1.6.0.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH resend] removing compilation warning comming from <asm/irq.h>
  2010-03-26 10:39 [PATCH resend] removing compilation warning comming from <asm/irq.h> Viresh KUMAR
@ 2010-04-12 19:44 ` Russell King - ARM Linux
  0 siblings, 0 replies; 2+ messages in thread
From: Russell King - ARM Linux @ 2010-04-12 19:44 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Mar 26, 2010 at 04:09:28PM +0530, Viresh KUMAR wrote:
> irq.h is using struct pt_regs *. Due to this compilation
> warning is comming. Removing this warning by adding declaration
> of struct pt_regs.
> 
> Signed-off-by: Viresh Kumar <viresh.kumar@st.com>

Much better, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-12 19:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-26 10:39 [PATCH resend] removing compilation warning comming from <asm/irq.h> Viresh KUMAR
2010-04-12 19:44 ` Russell King - ARM Linux

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.