Messages in this thread | | | Date | Sun, 11 Jan 2009 15:54:06 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] sparseirq: make some func to be used with genirq |
| |
* Yinghai Lu <yinghai@kernel.org> wrote:
> Ingo Molnar wrote: > > Yinghai, the crossbuild to Alpha fails with: > > > > /home/mingo/tip/kernel/fork.c: In function 'copy_signal': > > /home/mingo/tip/kernel/fork.c:825: warning: unused variable 'ret' > > /home/mingo/tip/drivers/char/random.c: In function 'get_timer_rand_state': > > /home/mingo/tip/drivers/char/random.c:584: error: dereferencing pointer to incomplete type > > /home/mingo/tip/drivers/char/random.c: In function 'set_timer_rand_state': > > /home/mingo/tip/drivers/char/random.c:594: error: dereferencing pointer to incomplete type > > make[3]: *** [drivers/char/random.o] Error 1 > > > > please check > > [PATCH] sparseirq: fix compiling with unknown irq_desc struct > > Impact: fix compiling > > irq_desc is defined in linux/irq.h > > Signed-off-by: Yinghai Lu <yinghai@kernel.org> > > diff --git a/include/linux/random.h b/include/linux/random.h > index 407ea36..a27bf17 100644 > --- a/include/linux/random.h > +++ b/include/linux/random.h > @@ -10,6 +10,10 @@ > #include <linux/ioctl.h> > #include <linux/irqnr.h> > > +#ifdef CONFIG_GENERIC_HARDIRQS > +#include <linux/irq.h> > +#endif
applied to tip/irq/sparseirq, thanks Yinghai!
Ingo
| |