From: Lai Jiangshan <laijs@cn.fujitsu.com>
To: Ingo Molnar <mingo@elte.hu>, Pekka Enberg <penberg@kernel.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH -tip] kvm_tools: fix build fail
Date: Thu, 08 Dec 2011 16:52:54 +0800 [thread overview]
Message-ID: <4EE07AE6.10804@cn.fujitsu.com> (raw)
Commit e5fd47bfab2df0c2184cc0bf4245d8e1bb7724fb in -tip tree adds a
"bool set_pm_idle_to_default(void);" to system.h which causes kvm_tool build fail:
In file included from include/kvm/barrier.h:13:0,
from virtio/core.c:5:
../../arch/x86/include/asm/system.h:404:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘set_pm_idle_to_default’
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
---
diff --git a/tools/kvm/include/kvm/barrier.h b/tools/kvm/include/kvm/barrier.h
index c11a239..480276f 100644
--- a/tools/kvm/include/kvm/barrier.h
+++ b/tools/kvm/include/kvm/barrier.h
@@ -7,6 +7,7 @@
* Provide the dependencies here - we can drop these wrappers once
* the header is fixed upstream:
*/
+#include <stdbool.h>
#include <linux/stringify.h>
#include <linux/bitops.h>
#include <asm/alternative.h>
next reply other threads:[~2011-12-08 8:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-08 8:52 Lai Jiangshan [this message]
2011-12-08 9:00 ` [PATCH -tip] kvm_tools: fix build fail Sasha Levin
2011-12-08 10:24 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EE07AE6.10804@cn.fujitsu.com \
--to=laijs@cn.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=penberg@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.