kvm-kmod: Fix tracepoint warnings against OpenSUSE's 2.6.27
PATCH 1/1 kvm-kmod: Fix tracepoint warnings against OpenSUSE's 2.6.27
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 <[email protected]>
---
external-module-compat-comm.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
external-module-compat-comm.h +2 -1
@@ -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
Avi Kivity
AppliedQuoted 3 lines · Jan Kiszka
OpenSUSE's 2.6.27 already includes tracepoints and generates a lot of warnings regarding redefinition of
tracepoint_synchronize_unregister.
Applied, thanks.
Signature · 1 line
error compiling committee.c: too many arguments to function