[lm-sensors] [PATCH 2/3] coretemp driver
Rudolf Marek
r.marek at assembler.cz
Sun Dec 10 18:50:19 CET 2006
Hello all,
I fixed the issue reported by George (BUG: using smp_processor_id() in
preemptible [00000001] code: modprobe/2279)
I'm attaching fixed version, it is just compile tested but I believe it will work.
if (current_cpu_data.x86_vendor != X86_VENDOR_INTEL)
Changed to:
if (cpu_data[0].x86_vendor != X86_VENDOR_INTEL)
I need to check any CPU here, so I got rid of the smp_processor_id which is
hidden in current_cpu_data.
Signed-off-by: Rudolf Marek <r.marek at assembler.cz>
This patch adds support for the temperature sensor found in recent Intel Core
processors.
Rudolf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-coretemp-driver.patch
Type: text/x-diff
Size: 11913 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061210/6babb53d/attachment.bin
More information about the lm-sensors
mailing list