--- zzzz-none-000/linux-2.6.28.10/include/linux/marker.h 2009-05-02 18:54:43.000000000 +0000 +++ fusiv-7390-686/linux-2.6.28.10/include/linux/marker.h 2009-10-15 12:29:26.000000000 +0000 @@ -85,8 +85,8 @@ #else /* !CONFIG_MARKERS */ #define __trace_mark(generic, name, call_private, format, args...) \ __mark_check_format(format, ## args) -static inline void marker_update_probe_range(struct marker *begin, - struct marker *end) +static inline void marker_update_probe_range(struct marker *begin __attribute__ ((unused)), + struct marker *end __attribute__ ((unused))) { } #endif /* CONFIG_MARKERS */ @@ -122,7 +122,7 @@ #define MARK_NOARGS " " /* To be used for string format validity checking with gcc */ -static inline void __printf(1, 2) ___mark_check_format(const char *fmt, ...) +static inline void __printf(1, 2) ___mark_check_format(const char *fmt __attribute__ ((unused)), ...) { }