public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -tip] kvm_tools: fix build fail
@ 2011-12-08  8:52 Lai Jiangshan
  2011-12-08  9:00 ` Sasha Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Lai Jiangshan @ 2011-12-08  8:52 UTC (permalink / raw)
  To: Ingo Molnar, Pekka Enberg, LKML

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>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH -tip] kvm_tools: fix build fail
  2011-12-08  8:52 [PATCH -tip] kvm_tools: fix build fail Lai Jiangshan
@ 2011-12-08  9:00 ` Sasha Levin
  2011-12-08 10:24   ` Ingo Molnar
  0 siblings, 1 reply; 3+ messages in thread
From: Sasha Levin @ 2011-12-08  9:00 UTC (permalink / raw)
  To: Lai Jiangshan; +Cc: Ingo Molnar, Pekka Enberg, LKML

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH -tip] kvm_tools: fix build fail
  2011-12-08  9:00 ` Sasha Levin
@ 2011-12-08 10:24   ` Ingo Molnar
  0 siblings, 0 replies; 3+ messages in thread
From: Ingo Molnar @ 2011-12-08 10:24 UTC (permalink / raw)
  To: Sasha Levin; +Cc: Lai Jiangshan, Pekka Enberg, LKML


* Sasha Levin <levinsasha928@gmail.com> wrote:

> Hi Lai,
> 
> This was fixed in the KVM tools tree 2 days ago, but not 
> pulled into -tip yet.

Hm, i do daily pulls, sometimes more often - and this fix i 
pulled two days ago and pushed it out into -tip, because i was 
hit by it too.

Lai, are you using the right URI for -tip? The latest URI is:

  git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

Thanks,

	Ingo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-08 10:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-08  8:52 [PATCH -tip] kvm_tools: fix build fail Lai Jiangshan
2011-12-08  9:00 ` Sasha Levin
2011-12-08 10:24   ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox