Commit bb923781 authored by Philippe Gerum's avatar Philippe Gerum Committed by Jan Kiszka
Browse files

ipipe: add fixup call to irq_set_[chip_]handler_[name_]locked() helpers



The pipeline core must be given an opportunity to fixup the interrupt
descriptor right before a flow handler is assigned to it. To this end,
make sure the irq_set_[chip_]handler_[name_]locked() helpers also call
__fixup_irq_handler().
Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent f70c8dfe
......@@ -214,7 +214,7 @@ static inline void irq_set_handler_locked(struct irq_data *data,
{
struct irq_desc *desc = irq_data_to_desc(data);
desc->handle_irq = handler;
desc->handle_irq = __fixup_irq_handler(desc, handler, 0);
}
/**
......@@ -235,7 +235,7 @@ irq_set_chip_handler_name_locked(struct irq_data *data, struct irq_chip *chip,
{
struct irq_desc *desc = irq_data_to_desc(data);
desc->handle_irq = handler;
desc->handle_irq = __fixup_irq_handler(desc, handler, 0);
desc->name = name;
data->chip = chip;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment