Re: [PATCH v2] tools/power x86_energy_perf_policy: fix cpuid for i686

From: Mike Frysinger
Date: Tue Feb 21 2012 - 23:41:25 EST


On Tue, Feb 21, 2012 at 23:03, Benson Leung <bleung@xxxxxxxxxxxx> 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@xxxxxxxxxxxx
> 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@xxxxxxxxxx>
Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/