public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kvm-kmod: Fix tracepoint warnings against OpenSUSE's 2.6.27
@ 2009-06-25 12:47 Jan Kiszka
  2009-06-28  7:55 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2009-06-25 12:47 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel

OpenSUSE's 2.6.27 already includes tracepoints and generates a lot of
warnings regarding redefinition of tracepoint_synchronize_unregister.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---

 external-module-compat-comm.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/external-module-compat-comm.h b/external-module-compat-comm.h
index c0ae66c..c681dd3 100644
--- a/external-module-compat-comm.h
+++ b/external-module-compat-comm.h
@@ -841,7 +841,7 @@ static inline struct file *eventfd_fget(int fd)
 
 #endif
 
-/* tracepoints were introduced in 2.6.29, but changed in 2.6.30 */
+/* tracepoints were introduced in 2.6.28, but changed in 2.6.30 */
 
 #include <linux/tracepoint.h>
 
@@ -884,6 +884,7 @@ struct tracepoint;
 #define TRACE_EVENT(name, proto, args, struct, assign, print)	\
 	DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
 
+#undef tracepoint_synchronize_unregister
 #define tracepoint_synchronize_unregister() do {} while (0)
 
 #endif

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

* Re: [PATCH] kvm-kmod: Fix tracepoint warnings against OpenSUSE's 2.6.27
  2009-06-25 12:47 [PATCH] kvm-kmod: Fix tracepoint warnings against OpenSUSE's 2.6.27 Jan Kiszka
@ 2009-06-28  7:55 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2009-06-28  7:55 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: kvm-devel

On 06/25/2009 03:47 PM, Jan Kiszka wrote:
> OpenSUSE's 2.6.27 already includes tracepoints and generates a lot of
> warnings regarding redefinition of tracepoint_synchronize_unregister.
>    

Applied, thanks.

-- 
error compiling committee.c: too many arguments to function


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

end of thread, other threads:[~2009-06-28  7:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-25 12:47 [PATCH] kvm-kmod: Fix tracepoint warnings against OpenSUSE's 2.6.27 Jan Kiszka
2009-06-28  7:55 ` Avi Kivity

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