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.kis...@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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to