Hi, On Fri, Dec 24, 2010 at 07:27:01AM -0800, Arjan van de Ven wrote: > On 12/24/2010 7:18 AM, Török Edwin wrote: > > Maybe you could add -I/lib/modules/`uname -r`/source to CPPFLAGS, so if > > the user has something more recent installed it gets picked up? > > Or could you just copy that header from latest stable kernel to powertop? > > I could copy, but it's not like powertop will actually run if the kernel > doesn't support these interfaces > (or many others for that matter, a 2.6.32 kernel will just not work. > 2.6.36 ought to work fine though)
The irony of it is that this machine _is_ running a much newer custom kernel (only 2.6.34.x though, I believe, due to 2.6.35+ being questionable at the time I did the last upgrade). It's just that the Debian stable common kernel headers are much older. > I'll take a look and see if there's something sane I can do that also > makes sense ;) Hmm, the question would be what would constitute Accepted Best Practice (tm) in this area ;) Andreas Mohr _______________________________________________ Power mailing list [email protected] http://www.bughost.org/mailman/listinfo/power
