Roderick Colenbrander : ntdll: Read correct sysfs entry for core information.

Alexandre Julliard julliard at winehq.org
Thu Apr 19 16:54:19 CDT 2018


Module: wine
Branch: master
Commit: e502dce411439284db6f043e37bc0f4e51e50f43
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e502dce411439284db6f043e37bc0f4e51e50f43

Author: Roderick Colenbrander <thunderbird2k at gmail.com>
Date:   Wed Apr 18 22:30:27 2018 -0700

ntdll: Read correct sysfs entry for core information.

Signed-off-by: Roderick Colenbrander <thunderbird2k at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/nt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index 8995c36..c3f5df3 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -1497,7 +1497,7 @@ static inline BOOL logical_proc_info_add_group(SYSTEM_LOGICAL_PROCESSOR_INFORMAT
 static NTSTATUS create_logical_proc_info(SYSTEM_LOGICAL_PROCESSOR_INFORMATION **data,
         SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX **dataex, DWORD *max_len)
 {
-    static const char core_info[] = "/sys/devices/system/cpu/cpu%u/%s";
+    static const char core_info[] = "/sys/devices/system/cpu/cpu%u/topology/%s";
     static const char cache_info[] = "/sys/devices/system/cpu/cpu%u/cache/index%u/%s";
     static const char numa_info[] = "/sys/devices/system/node/node%u/cpumap";
 




More information about the wine-cvs mailing list