Skip to contentSkip to conversation

2.6 PATCH: Fix include/asm-ia64/machvec.h

PATCH H. J. Lu 2 participants 2 messages Aug 7, 2003 IRQ

lore
Share & tools
lore

H. J. Lu

author
#0 lore raw

include/asm-ia64/machvec.h has

/* forward declarations: */
...
struct irq_desc;
...
typedef struct irq_desc *ia64_mv_irq_desc (unsigned int);

But struct irq_desc is never declared anywhere. Here is a patch to fix it.

H.J.
---

include/linux/irq.h renamed from include/linux/irq.h.irq +1 -1
@@ -56,7 +56,7 @@ typedef struct hw_interrupt_type  hw_irq
  *
  * Pad this out to 32 bytes for cache and indexing reasons.
  */
-typedef struct {
+typedef struct irq_desc {
 	unsigned int status;		/* IRQ status */
 	hw_irq_controller *handler;
 	struct irqaction *action;	/* IRQ action list */
#1 lore raw
Quoted 10 lines · H. J. Lu

include/asm-ia64/machvec.h has

/* forward declarations: */
...
struct irq_desc;
...
typedef struct irq_desc *ia64_mv_irq_desc (unsigned int);

But struct irq_desc is never declared anywhere. Here is a patch to fix it.

I posted this yesterday and akpm accepted it.

Signature · 1 line
Martin