]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
genirq/affinity: Handle pre/post vectors in irq_create_affinity_masks()
authorChristoph Hellwig <hch@lst.de>
Wed, 9 Nov 2016 01:15:03 +0000 (17:15 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 9 Nov 2016 07:25:09 +0000 (08:25 +0100)
commit67c93c218dc5d1b45d547771f1fdb44a381e1faf
treeac27583ebabefaed3bba36f955c57e12aa5136ef
parent212bd846223c718b6577d4df16fd8d05a55ad914
genirq/affinity: Handle pre/post vectors in irq_create_affinity_masks()

Only calculate the affinity for the main I/O vectors, and skip the
pre or post vectors specified by struct irq_affinity.

Also remove the irq_affinity cpumask argument that has never been used.
If we ever need it in the future we can pass it through struct
irq_affinity.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Link: http://lkml.kernel.org/r/1478654107-7384-4-git-send-email-hch@lst.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/pci/msi.c
include/linux/interrupt.h
kernel/irq/affinity.c