[PATCH 0/3] coretemp driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux