Re: [patch] voluntary-preempt-2.6.8-rc2-O2

Felipe Alfaro Solana
2004-08-02T06:26:23Z

On Sun, 2004-08-01 at 16:44 -0700, Matt Heler wrote:
> Ingo,
>
> I get the following error below on with your patch applied on stock
> 2.6.8-rc2 ...
>
> CC kernel/softirq.o
> CC kernel/hardirq.o
> kernel/hardirq.c:51: error: conflicting types for 'generic_handle_IRQ_event'
> include/linux/irq.h:78: error: previous declaration of
> 'generic_handle_IRQ_event' was here
> kernel/hardirq.c:51: error: conflicting types for 'generic_handle_IRQ_event'
> include/linux/irq.h:78: error: previous declaration of
> 'generic_handle_IRQ_event' was here
> make[1]: *** [kernel/hardirq.o] Error 1
> make: *** [kernel] Error 2

Try removing the "asmlinkage" from the definition of
"generic_handle_IRQ_event" in file "kernel/hardirq.c".