use the real name of cpu

David Zeuthen david at fubar.dk
Sun Apr 16 10:37:10 PDT 2006


On Fri, 2006-04-07 at 17:15 +0200, Kay Sievers wrote:
> Patch from: Jim Krehl <jimmyk at novell.com> to export the real name of the
> cpu instead of just "Processor".

<snip>

> +	if (g_file_get_contents ("/proc/cpuinfo", & contents, NULL, & error)) {

IIRC /proc/cpuinfo looks different depending on what processor you have,
but I guess this is fine for now as we can always add more checks /
replace it with something from sysfs in the future. Since it's purely
cosmetic at this point it's OK with me to do this for now.

     David




More information about the hal mailing list