genirq/affinity: Code consolidation
authorThomas Gleixner <tglx@linutronix.de>
Sat, 16 Feb 2019 17:13:07 +0000 (18:13 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 18 Feb 2019 10:21:27 +0000 (11:21 +0100)
commit0145c30e896d26e638d27c957d9eed72893c1c92
tree408f9226dfbb5ddf0bdf2459f292ba08bb4d4d25
parentd869f86645fc07dc83b89b68f1a22d91ebe29439
genirq/affinity: Code consolidation

All information and calculations in the interrupt affinity spreading code
is strictly unsigned int. Though the code uses int all over the place.

Convert it over to unsigned int.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Bjorn Helgaas <helgaas@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
Cc: Sagi Grimberg <sagi@grimberg.me>
Cc: linux-nvme@lists.infradead.org
Cc: linux-pci@vger.kernel.org
Cc: Keith Busch <keith.busch@intel.com>
Cc: Sumit Saxena <sumit.saxena@broadcom.com>
Cc: Kashyap Desai <kashyap.desai@broadcom.com>
Cc: Shivasharan Srikanteshwara <shivasharan.srikanteshwara@broadcom.com>
Link: https://lkml.kernel.org/r/20190216172228.336424556@linutronix.de
include/linux/interrupt.h
kernel/irq/affinity.c