--- zzzz-none-000/linux-2.6.39.4/include/linux/irq.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/include/linux/irq.h 2021-11-10 13:23:10.000000000 +0000 @@ -382,8 +382,8 @@ void irq_move_irq(struct irq_data *data); void irq_move_masked_irq(struct irq_data *data); #else -static inline void irq_move_irq(struct irq_data *data) { } -static inline void irq_move_masked_irq(struct irq_data *data) { } +static inline void irq_move_irq(struct irq_data *data __attribute__((unused))) { } +static inline void irq_move_masked_irq(struct irq_data *data __attribute__((unused))) { } #endif extern int no_irq_affinity; @@ -401,6 +401,9 @@ extern void handle_bad_irq(unsigned int irq, struct irq_desc *desc); extern void handle_nested_irq(unsigned int irq); +#define do_edge_IRQ handle_edge_irq +#define do_level_IRQ handle_level_irq + /* Handling of unhandled and spurious interrupts: */ extern void note_interrupt(unsigned int irq, struct irq_desc *desc, irqreturn_t action_ret); @@ -436,6 +439,8 @@ __irq_set_handler(irq, handle, 0, NULL); } + +#define set_irq_handler irq_set_handler /* * Set a highlevel chained flow handler for a given IRQ. * (a chained handler is automatically enabled and set to