From db004c5d7af31d9a56321d7780621b1df6a1559e Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 6 Feb 2015 11:41:56 +0000 Subject: * fhandler_proc.cc (format_proc_cpuinfo): Enable multi-core fields on Intel CPUs. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/fhandler_proc.cc | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 8a9f524f7..a63555cad 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2015-02-06 Corinna Vinschen + + * fhandler_proc.cc (format_proc_cpuinfo): Enable multi-core fields + on Intel CPUs. + 2015-02-04 Corinna Vinschen * common.din (wcstold): Export. diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index 0fd2e569c..974da9316 100644 --- a/winsup/cygwin/fhandler_proc.cc +++ b/winsup/cygwin/fhandler_proc.cc @@ -1,7 +1,7 @@ /* fhandler_proc.cc: fhandler for /proc virtual filesystem 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. @@ -793,7 +793,7 @@ format_proc_cpuinfo (void *, char *&destbuf) cache_size); /* Recognize multi-core CPUs. */ - if (is_amd && maxe >= 0x80000008) + if (maxe >= 0x80000008) { uint32_t core_info; cpuid (&unused, &unused, &core_info, &unused, 0x80000008); -- cgit v1.2.3