From: Sasha Levin <levinsasha928@gmail.com>
To: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Ingo Molnar <mingo@elte.hu>, Pekka Enberg <penberg@kernel.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -tip] kvm_tools: fix build fail
Date: Thu, 08 Dec 2011 11:00:12 +0200 [thread overview]
Message-ID: <1323334812.3904.8.camel@lappy> (raw)
In-Reply-To: <4EE07AE6.10804@cn.fujitsu.com>
Hi Lai,
This was fixed in the KVM tools tree 2 days ago, but not pulled into
-tip yet.
Thanks!
On Thu, 2011-12-08 at 16:52 +0800, Lai Jiangshan wrote:
> 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>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Sasha.
next prev parent reply other threads:[~2011-12-08 9:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-08 8:52 [PATCH -tip] kvm_tools: fix build fail Lai Jiangshan
2011-12-08 9:00 ` Sasha Levin [this message]
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=1323334812.3904.8.camel@lappy \
--to=levinsasha928@gmail.com \
--cc=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.