All of lore.kernel.org
 help / color / mirror / Atom feed
From: r.marek@assembler.cz (Rudolf Marek)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] [PATCH 2/3] coretemp driver
Date: Sun, 10 Dec 2006 17:50:19 +0000	[thread overview]
Message-ID: <457C48DB.9040806@assembler.cz> (raw)
In-Reply-To: <45329AC7.3040008@assembler.cz>

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 

      parent reply	other threads:[~2006-12-10 17:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-15 20:32 [lm-sensors] [PATCH 2/3] coretemp driver Rudolf Marek
2006-10-17 21:31 ` Rudolf Marek
2006-12-10 17:50 ` Rudolf Marek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=457C48DB.9040806@assembler.cz \
    --to=r.marek@assembler.cz \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.