aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorDavid Daney <[email protected]>2017-08-18 00:53:34 +0000
committerThomas Gleixner <[email protected]>2017-08-18 09:21:42 +0000
commit495c38d3001fd226cf91df1d031320f349bcaf35 (patch)
treee95708012ea936df31395e7d0139c4ae82ae9ff0 /net/switchdev/switchdev.c
parentirqdomain: Check for NULL function pointer in irq_domain_free_irqs_hierarchy() (diff)
downloadkernel-495c38d3001fd226cf91df1d031320f349bcaf35.tar.gz
kernel-495c38d3001fd226cf91df1d031320f349bcaf35.zip
irqdomain: Add irq_domain_{push,pop}_irq() functions
For an already existing irqdomain hierarchy, as might be obtained via a call to pci_enable_msix_range(), a PCI driver wishing to add an additional irqdomain to the hierarchy needs to be able to insert the irqdomain to that already initialized hierarchy. Calling irq_domain_create_hierarchy() allows the new irqdomain to be created, but no existing code allows for initializing the associated irq_data. Add a couple of helper functions (irq_domain_push_irq() and irq_domain_pop_irq()) to initialize the irq_data for the new irqdomain added to an existing hierarchy. Signed-off-by: David Daney <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Marc Zyngier <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Alexandre Courbot <[email protected]> Cc: Linus Walleij <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions