* fhandler_proc.cc (format_proc_cpuinfo): Enable multi-core fields

on Intel CPUs.
This commit is contained in:
Corinna Vinschen 2015-02-06 11:41:56 +00:00
parent 604656a35a
commit db004c5d7a
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2015-02-06 Corinna Vinschen <corinna@vinschen.de>
* fhandler_proc.cc (format_proc_cpuinfo): Enable multi-core fields
on Intel CPUs.
2015-02-04 Corinna Vinschen <corinna@vinschen.de> 2015-02-04 Corinna Vinschen <corinna@vinschen.de>
* common.din (wcstold): Export. * common.din (wcstold): Export.

View File

@ -1,7 +1,7 @@
/* fhandler_proc.cc: fhandler for /proc virtual filesystem /* fhandler_proc.cc: fhandler for /proc virtual filesystem
Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
2013, 2014 Red Hat, Inc. 2013, 2014, 2015 Red Hat, Inc.
This file is part of Cygwin. This file is part of Cygwin.
@ -793,7 +793,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
cache_size); cache_size);
/* Recognize multi-core CPUs. */ /* Recognize multi-core CPUs. */
if (is_amd && maxe >= 0x80000008) if (maxe >= 0x80000008)
{ {
uint32_t core_info; uint32_t core_info;
cpuid (&unused, &unused, &core_info, &unused, 0x80000008); cpuid (&unused, &unused, &core_info, &unused, 0x80000008);