All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] Fix compile error when tracing is disabled
@ 2011-07-28 22:12 ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 4+ messages in thread
From: Jeremy Fitzhardinge @ 2011-07-28 22:12 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Linux Kernel Mailing List, xen-devel@lists.xensource.com,
	Konrad Rzeszutek Wilk, Randy Dunlap

Hi Linus,

Please pull this to fix compilation when tracing is disabled.

Thanks,
    J

The following changes since commit 55f9c40ff632d03c527d6a6ceddcda0a224587a6:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc (2011-07-28 05:59:19 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git upstream/xen-tracing2

Jeremy Fitzhardinge (1):
      xen/tracing: fix compile errors when tracing is disabled.

 arch/x86/xen/Makefile      |    4 +++-
 include/trace/events/xen.h |    2 ++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile
index 6fdf366..ce69201 100644
--- a/arch/x86/xen/Makefile
+++ b/arch/x86/xen/Makefile
@@ -13,7 +13,9 @@ CFLAGS_mmu.o			:= $(nostackp)
 obj-y		:= enlighten.o setup.o multicalls.o mmu.o irq.o \
 			time.o xen-asm.o xen-asm_$(BITS).o \
 			grant-table.o suspend.o platform-pci-unplug.o \
-			p2m.o trace.o
+			p2m.o
+
+obj-$(CONFIG_FUNCTION_TRACER) += trace.o
 
 obj-$(CONFIG_SMP)		+= smp.o
 obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o
diff --git a/include/trace/events/xen.h b/include/trace/events/xen.h
index 44d8dec..92f1a79 100644
--- a/include/trace/events/xen.h
+++ b/include/trace/events/xen.h
@@ -8,6 +8,8 @@
 #include <asm/paravirt_types.h>
 #include <asm/xen/trace_types.h>
 
+struct multicall_entry;
+
 /* Multicalls */
 DECLARE_EVENT_CLASS(xen_mc__batch,
 	    TP_PROTO(enum paravirt_lazy_mode mode),



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

* [GIT PULL] Fix compile error when tracing is disabled
@ 2011-07-28 22:12 ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 4+ messages in thread
From: Jeremy Fitzhardinge @ 2011-07-28 22:12 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Randy Dunlap, xen-devel@lists.xensource.com,
	Linux Kernel Mailing List, Konrad Rzeszutek Wilk

Hi Linus,

Please pull this to fix compilation when tracing is disabled.

Thanks,
    J

The following changes since commit 55f9c40ff632d03c527d6a6ceddcda0a224587a6:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc (2011-07-28 05:59:19 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git upstream/xen-tracing2

Jeremy Fitzhardinge (1):
      xen/tracing: fix compile errors when tracing is disabled.

 arch/x86/xen/Makefile      |    4 +++-
 include/trace/events/xen.h |    2 ++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile
index 6fdf366..ce69201 100644
--- a/arch/x86/xen/Makefile
+++ b/arch/x86/xen/Makefile
@@ -13,7 +13,9 @@ CFLAGS_mmu.o			:= $(nostackp)
 obj-y		:= enlighten.o setup.o multicalls.o mmu.o irq.o \
 			time.o xen-asm.o xen-asm_$(BITS).o \
 			grant-table.o suspend.o platform-pci-unplug.o \
-			p2m.o trace.o
+			p2m.o
+
+obj-$(CONFIG_FUNCTION_TRACER) += trace.o
 
 obj-$(CONFIG_SMP)		+= smp.o
 obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o
diff --git a/include/trace/events/xen.h b/include/trace/events/xen.h
index 44d8dec..92f1a79 100644
--- a/include/trace/events/xen.h
+++ b/include/trace/events/xen.h
@@ -8,6 +8,8 @@
 #include <asm/paravirt_types.h>
 #include <asm/xen/trace_types.h>
 
+struct multicall_entry;
+
 /* Multicalls */
 DECLARE_EVENT_CLASS(xen_mc__batch,
 	    TP_PROTO(enum paravirt_lazy_mode mode),

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

* Re: [GIT PULL] Fix compile error when tracing is disabled
  2011-07-28 22:12 ` Jeremy Fitzhardinge
@ 2011-07-28 22:54   ` Randy Dunlap
  -1 siblings, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2011-07-28 22:54 UTC (permalink / raw)
  To: Jeremy Fitzhardinge
  Cc: Linus Torvalds, Linux Kernel Mailing List,
	xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk

On Thu, 28 Jul 2011 15:12:08 -0700 Jeremy Fitzhardinge wrote:

> Hi Linus,
> 
> Please pull this to fix compilation when tracing is disabled.
> 
> Thanks,
>     J

and now
Acked-by: Randy Dunlap <rdunlap@xenotime.net>

Thanks.

> The following changes since commit 55f9c40ff632d03c527d6a6ceddcda0a224587a6:
> 
>   Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc (2011-07-28 05:59:19 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git upstream/xen-tracing2
> 
> Jeremy Fitzhardinge (1):
>       xen/tracing: fix compile errors when tracing is disabled.
> 
>  arch/x86/xen/Makefile      |    4 +++-
>  include/trace/events/xen.h |    2 ++
>  2 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile
> index 6fdf366..ce69201 100644
> --- a/arch/x86/xen/Makefile
> +++ b/arch/x86/xen/Makefile
> @@ -13,7 +13,9 @@ CFLAGS_mmu.o			:= $(nostackp)
>  obj-y		:= enlighten.o setup.o multicalls.o mmu.o irq.o \
>  			time.o xen-asm.o xen-asm_$(BITS).o \
>  			grant-table.o suspend.o platform-pci-unplug.o \
> -			p2m.o trace.o
> +			p2m.o
> +
> +obj-$(CONFIG_FUNCTION_TRACER) += trace.o
>  
>  obj-$(CONFIG_SMP)		+= smp.o
>  obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o
> diff --git a/include/trace/events/xen.h b/include/trace/events/xen.h
> index 44d8dec..92f1a79 100644
> --- a/include/trace/events/xen.h
> +++ b/include/trace/events/xen.h
> @@ -8,6 +8,8 @@
>  #include <asm/paravirt_types.h>
>  #include <asm/xen/trace_types.h>
>  
> +struct multicall_entry;
> +
>  /* Multicalls */
>  DECLARE_EVENT_CLASS(xen_mc__batch,
>  	    TP_PROTO(enum paravirt_lazy_mode mode),
> 
> 


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

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

* Re: [GIT PULL] Fix compile error when tracing is disabled
@ 2011-07-28 22:54   ` Randy Dunlap
  0 siblings, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2011-07-28 22:54 UTC (permalink / raw)
  To: Jeremy Fitzhardinge
  Cc: xen-devel@lists.xensource.com, Linus Torvalds, List,
	Konrad Rzeszutek Wilk, Linux

On Thu, 28 Jul 2011 15:12:08 -0700 Jeremy Fitzhardinge wrote:

> Hi Linus,
> 
> Please pull this to fix compilation when tracing is disabled.
> 
> Thanks,
>     J

and now
Acked-by: Randy Dunlap <rdunlap@xenotime.net>

Thanks.

> The following changes since commit 55f9c40ff632d03c527d6a6ceddcda0a224587a6:
> 
>   Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc (2011-07-28 05:59:19 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git upstream/xen-tracing2
> 
> Jeremy Fitzhardinge (1):
>       xen/tracing: fix compile errors when tracing is disabled.
> 
>  arch/x86/xen/Makefile      |    4 +++-
>  include/trace/events/xen.h |    2 ++
>  2 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile
> index 6fdf366..ce69201 100644
> --- a/arch/x86/xen/Makefile
> +++ b/arch/x86/xen/Makefile
> @@ -13,7 +13,9 @@ CFLAGS_mmu.o			:= $(nostackp)
>  obj-y		:= enlighten.o setup.o multicalls.o mmu.o irq.o \
>  			time.o xen-asm.o xen-asm_$(BITS).o \
>  			grant-table.o suspend.o platform-pci-unplug.o \
> -			p2m.o trace.o
> +			p2m.o
> +
> +obj-$(CONFIG_FUNCTION_TRACER) += trace.o
>  
>  obj-$(CONFIG_SMP)		+= smp.o
>  obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o
> diff --git a/include/trace/events/xen.h b/include/trace/events/xen.h
> index 44d8dec..92f1a79 100644
> --- a/include/trace/events/xen.h
> +++ b/include/trace/events/xen.h
> @@ -8,6 +8,8 @@
>  #include <asm/paravirt_types.h>
>  #include <asm/xen/trace_types.h>
>  
> +struct multicall_entry;
> +
>  /* Multicalls */
>  DECLARE_EVENT_CLASS(xen_mc__batch,
>  	    TP_PROTO(enum paravirt_lazy_mode mode),
> 
> 


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

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

end of thread, other threads:[~2011-07-28 22:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-28 22:12 [GIT PULL] Fix compile error when tracing is disabled Jeremy Fitzhardinge
2011-07-28 22:12 ` Jeremy Fitzhardinge
2011-07-28 22:54 ` Randy Dunlap
2011-07-28 22:54   ` Randy Dunlap

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.