[SIGAR-46] Fix cpu_info.{mhz,cache_size} fields in UML vms

This commit is contained in:
Doug MacEachern 2007-04-05 18:51:22 +00:00
parent f1899e093d
commit e3edf38057
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-04-05 Doug MacEachern <dougm@hyperic.com>
* [SIGAR-46] Fix cpu_info.{mhz,cache_size} fields in UML vms
2007-03-29 Doug MacEachern <dougm@hyperic.com>
* Fix cpu ticks to msec on linux/ia64

View File

@ -1521,6 +1521,10 @@ static int get_cpu_info(sigar_t *sigar, sigar_cpu_info_t *info,
int found = 0;
/* UML vm wont have "cpu MHz" or "cache size" fields */
info->mhz = 0;
info->cache_size = 0;
#ifdef __powerpc64__
SIGAR_SSTRCPY(info->vendor, "IBM");
#endif