From a18c1a3abd7f7ce80d9affacb3bdacc80d356826 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Tue, 6 Dec 2011 15:54:29 +0200 Subject: [PATCH] kvm tools: Fix kvm/barrier.h build breakage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ingo Molnar writes: On Tue, 6 Dec 2011, Ingo Molnar wrote: > > FYI, today's version fails to build: > > > > In file included from x86/include/kvm/barrier.h:13:0, > > from virtio/core.c:5: > > ../../arch/x86/include/asm/system.h:404:1: error: unknown type > > name ‘bool’ > > make: *** [virtio/core.o] Error 1 > > make: *** Waiting for unfinished jobs.... > > > > latest Fedora Rawhide. > > There's no 'bool' in system.h for 3.2-rc4. Is this something that's > changed in -tip? It got introduced by a post-rc4 fix: e5fd47bfab2d: xen/pm_idle: Make pm_idle be default_idle under Xen. Fix it by include in kvm/barrier.h Reported-by: Ingo Molnar Signed-off-by: Pekka Enberg --- x86/include/kvm/barrier.h | 1 + 1 file changed, 1 insertion(+) diff --git a/x86/include/kvm/barrier.h b/x86/include/kvm/barrier.h index c11a239..480276f 100644 --- a/x86/include/kvm/barrier.h +++ b/x86/include/kvm/barrier.h @@ -7,6 +7,7 @@ * Provide the dependencies here - we can drop these wrappers once * the header is fixed upstream: */ +#include #include #include #include