Messages in this thread | | | From | KOSAKI Motohiro <> | Subject | Re: irqnr fallout in gpiolib on sparc32 | Date | Wed, 7 Jan 2009 08:43:32 +0900 (JST) |
| |
> > #ifndef CONFIG_GENERIC_HARDIRQS > > #include <asm/irq.h> > > -# define nr_irqs NR_IRQS > > + > > +/* > > + * Wrappers for non-genirq architectures: > > + */ > > +#define nr_irqs NR_IRQS > > +#define irq_to_desc(irq) irq_desc[irq] > > irq_to_desc(irq) return a pointer to a struct irq_desc > so we need to take the address. > > > +#define irq_to_desc(irq) &irq_desc[irq] > ^ > With this small fix the build continues.
maybe my fault. very thanks.
| |