Re: compile error with 2.6.39-rc1 (in arch/x86/kernel/apb_timer.c)

From: David Miller
Date: Wed Mar 30 2011 - 01:37:38 EST


From: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Tue, 29 Mar 2011 22:21:38 -0400

> On Wed, Mar 30, 2011 at 02:11:57AM +0000, jmheo wrote:
>>
>> I got following compile error with 2.6.39-rc1.
>>
>> arch/x86/kernel/apb_timer.c: In function ??apbt_setup_irq??:
>> arch/x86/kernel/apb_timer.c:319:2: error: implicit declaration of function ??
>> __set_irq_handler??
>> make[2]: *** [arch/x86/kernel/apb_timer.o] Error 1
>> make[1]: *** [arch/x86/kernel] Error 2
>> make: *** [arch/x86] Error 2
>> make: *** Waiting for unfinished jobs....
>>
>>
>> I have CONFIG_APB_TIMER & CONFIG_SMP in my .config.
>
> Could you post your full config please.

I hit this as well, even a stock "allmodconfig" build hits this.

A quick "git grep __set_irq_handler" will that that this one reference
apb_timer.c is the only match you'll get. I don't think you need a
config to see what the problem is here, do you?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/