[lm-sensors] [PATCH 0/3] coretemp driver

Christian Mahr christian.mahr.ulm at arcor.de
Sun Nov 12 12:16:13 CET 2006


Hi Rudolf,

concerning:

 >coretemp.c:(.init.text+0x6e0d): undefined reference to 
 >`register_hotcpu_notifier'
 >drivers/built-in.o: In function `coretemp_exit': 

 >coretemp.c:(.exit.text+0x82f): undefined reference to 
 >`unregister_hotcpu_notifier'
 >make: *** [.tmp_vmlinux1] Fehler 1

I found the problem: you have to include one more header file:

37d36
< #include <linux/cpu.h>

and it works!  --> please add the line to your sources.

The bug is noticable only if you switch on HOTPLUG_CPU otherwise it does not appear.

Best regards
	Christian

PS many thanks for the driver, I do use it in 2.6.18.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061112/f82e56dc/attachment.html 


More information about the lm-sensors mailing list