lkml.org 
[lkml]   [2012]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2] tools/power x86_energy_perf_policy: fix cpuid for i686
On Tue, Feb 21, 2012 at 23:03, Benson Leung <bleung@chromium.org> wrote:
> x86_energy_perf_policy reads cpuid using the cpuid instruction.
> On i686, when building with PIC, this clobbers ebx, the PIC register.
>
> Fixed using the same cpuid accessor function that vapier@chromium.org
> created for i7z:
> http://code.google.com/p/i7z/issues/detail?id=31

not sure if a-b or s-o-b ... i'll post both and you can pick most appropriate ;)

Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-mike


\
 
 \ /
  Last update: 2012-02-22 05:43    [from the cache]
©2003-2011 Jasper Spaans