From: Maynard J. <may...@us...> - 2012-06-15 18:53:05
|
On 06/15/2012 05:07 AM, Will Deacon wrote: > The /proc/cpuinfo parsing code used by ppc64 to identify the current > CPU type is useful for other architectures that don't have a userspace > cpuid instruction (for example, ARM). > > This patch factors out the /proc/cpuinfo reading code in preparation > for ARM support. > > Signed-off-by: Will Deacon <wil...@ar...> > --- > libop/op_cpu_type.c | 75 +++++++++++++++++++++++++++++++------------------- > 1 files changed, 46 insertions(+), 29 deletions(-) > Patch committed. Thanks. -Maynard [snip] |