From 0cfd7b9afef4cc37cc014545214f614d2d8ef106 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Mon, 1 Oct 2012 17:00:58 -0600 Subject: [PATCH] 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) --- src/util/processinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/processinfo.c b/src/util/processinfo.c index d9d255cd77..d4f8f4b672 100644 --- a/src/util/processinfo.c +++ b/src/util/processinfo.c @@ -161,7 +161,7 @@ realloc: for (i = 0 ; i < maxcpu ; i++) if (CPU_ISSET(i, &mask)) - VIR_USE_CPU(map, i); + ignore_value(virBitmapSetBit(*map, i)); # endif return 0;