Commit 1e46e04
irqchip/gic-v3-its: Use irq_domain_create_hierarchy()
Use the irq_domain_create_hierarchy() helper to create the hierarchical
domain, which both serves as documentation and avoids poking at
irqdomain internals.
Note that the domain host_data was first set to the struct its_node
during allocation only to immediately be overwritten with the struct
msi_domain_info.
Tested-by: Hsin-Yi Wang <hsinyi@chromium.org>
Tested-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230213104302.17307-17-johan+linaro@kernel.org1 parent e6e8cd6 commit 1e46e04
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4909 | 4909 | | |
4910 | 4910 | | |
4911 | 4911 | | |
4912 | | - | |
| 4912 | + | |
| 4913 | + | |
| 4914 | + | |
| 4915 | + | |
| 4916 | + | |
| 4917 | + | |
| 4918 | + | |
4913 | 4919 | | |
4914 | 4920 | | |
4915 | 4921 | | |
4916 | 4922 | | |
4917 | 4923 | | |
4918 | | - | |
4919 | 4924 | | |
4920 | | - | |
4921 | | - | |
4922 | | - | |
4923 | | - | |
4924 | 4925 | | |
4925 | 4926 | | |
4926 | 4927 | | |
| |||
0 commit comments