ntdll: Fix SMT CPU flag reporting.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f7e646ccb7
commit
03cebb22d8
|
@ -538,8 +538,8 @@ static DWORD count_bits(ULONG_PTR mask)
|
|||
DWORD count = 0;
|
||||
while (mask > 0)
|
||||
{
|
||||
if (mask & 1) ++count;
|
||||
mask >>= 1;
|
||||
count++;
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue