[PATCH v2 1/8] irqchip/gic-v3-its: Initialize its nodes in probe order
Robert Richter
rrichter at cavium.com
Mon Mar 6 04:57:32 PST 2017
ATM the last discovered node is initialized first. Though this order
should work too, change the initialization of nodes to probe order as
one would expect it.
Signed-off-by: Robert Richter <rrichter at cavium.com>
---
drivers/irqchip/irq-gic-v3-its.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c
index 23201004fd7a..ef00ffa92915 100644
--- a/drivers/irqchip/irq-gic-v3-its.c
+++ b/drivers/irqchip/irq-gic-v3-its.c
@@ -1749,7 +1749,7 @@ static int __init its_probe_one(struct resource *res,
goto out_free_tables;
spin_lock(&its_lock);
- list_add(&its->entry, &its_nodes);
+ list_add_tail(&its->entry, &its_nodes);
spin_unlock(&its_lock);
return 0;
--
2.11.0
More information about the linux-arm-kernel
mailing list