It looks like we have the same or very similar loop for most platforms. Maybe it would make sense to have the top level while and parsing of the /proc/cpuinfo to be common code, and only do the ifs when reading in the specific fields.
Patches welcome, if anyone wants to give it a try. -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel