mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-15 17:15:18 +00:00
build: fix bitmap conversion when !CPU_ALLOC
Commit f1a43a8 missed one side of an #if/#else. * src/util/processinfo.c (virProcessInfoGetAffinity): Use correct bitmap operation. (cherry picked from commit 9038ac65dafde5a404daf0b416e1f8bf80af683a)
This commit is contained in:
parent
72ad93f00d
commit
0cfd7b9afe
@ -161,7 +161,7 @@ realloc:
|
|||||||
|
|
||||||
for (i = 0 ; i < maxcpu ; i++)
|
for (i = 0 ; i < maxcpu ; i++)
|
||||||
if (CPU_ISSET(i, &mask))
|
if (CPU_ISSET(i, &mask))
|
||||||
VIR_USE_CPU(map, i);
|
ignore_value(virBitmapSetBit(*map, i));
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user