[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <ba7d8f720802151312o643bae66p485287bc444103e9@mail.gmail.com>
Date: Fri, 15 Feb 2008 16:12:40 -0500
From: "Dan Upton" <upton.dan.linux@...il.com>
To: linux-kernel@...r.kernel.org
Subject: accessing core temp sensors in the kernel
I'm trying to do some work on thermally-aware scheduling, specifically
using the coretemp module to access core temperature sensors on the
Intel Core2 platform. I know how to access them from user mode,
reading files from sysfs, but clearly that's not the way to do it in
the kernel. Specifically, I'm not sure how, in the scheduler, to get
copies of the appropriate device structures to call
static struct coretemp_data *coretemp_update_device(struct device *dev)
(in hwmon/coretemp.c).
Can anybody give me pointers where to get started?
Thanks,
-dan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists