]> www.infradead.org Git - users/dwmw2/linux.git/commit
genirq: Add default_affinity argument to __irq_alloc_descs()
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sun, 4 Oct 2020 15:51:38 +0000 (16:51 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 7 Oct 2020 10:17:46 +0000 (11:17 +0100)
commitaea59b6a8bf14f9f9981f085ccd9e8aaa18d1850
treec8432df45ef3cb0a7753bd5cd851491ef8359ce6
parent86504b1c4442057cf80f8997f30169a10614d55a
genirq: Add default_affinity argument to __irq_alloc_descs()

It already takes an array of affinities for each individual irq being
allocated but that's awkward to allocate and populate in the case
where they're all the same and inherited from the irqdomain, so pass
the default in separately as a simple cpumask.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
include/linux/irq.h
kernel/irq/devres.c
kernel/irq/irqdesc.c
kernel/irq/irqdomain.c