Simplify CPU detection on PPC.
authorSøren Sandmann Pedersen <ssp@redhat.com>
Thu, 28 Jun 2012 02:11:29 +0000 (22:11 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Sat, 7 Jul 2012 05:09:23 +0000 (01:09 -0400)
commit6aac8e85701be418e1ce13debc1bc8a30687f66b
tree73c43266f9d4b01ea7c306ac483d59fd90eccb8b
parent4b78d785373c1d02abe695267379674776b3da3d
Simplify CPU detection on PPC.

Get rid of the initialized and have_vmx static variables in
pixman-ppc.c There is no point to them since CPU detection only
happens once per process.

On Linux, just read /proc/self/auxv instead of generating the filename
with getpid() and don't bother with the stack buffer. Instead just
read the aux entries one by one.
pixman/pixman-ppc.c