--- zzzz-none-000/linux-2.6.39.4/include/trace/events/irq.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/include/trace/events/irq.h 2021-11-10 13:38:18.000000000 +0000 @@ -34,6 +34,10 @@ * conjunction with the irq_handler_exit tracepoint, we can figure * out irq handler latencies. */ + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-parameter" + TRACE_EVENT(irq_handler_entry, TP_PROTO(int irq, struct irqaction *action), @@ -143,6 +147,7 @@ TP_ARGS(vec_nr) ); +#pragma GCC diagnostic pop #endif /* _TRACE_IRQ_H */