genirq/affinity: Allow irq spreading from a given starting point
authorMing Lei <ming.lei@redhat.com>
Thu, 8 Mar 2018 10:53:57 +0000 (18:53 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 6 Apr 2018 10:19:51 +0000 (12:19 +0200)
commit1a2d0914e23aab386f5d5acb689777e24151c2c8
tree3190eb1cc626910ab9b5bc1aac883b5ad330ee6f
parentb3e6aaa8d94d618e685c4df08bef991a4fb43923
genirq/affinity: Allow irq spreading from a given starting point

To support two stage irq vector spreading, it's required to add a starting
point to the spreading function. No functional change, just preparatory
work for the actual two stage change.

[ tglx: Renamed variables, tidied up the code and massaged changelog ]

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
Cc: Laurence Oberman <loberman@redhat.com>
Cc: Christoph Hellwig <hch@infradead.org>
Link: https://lkml.kernel.org/r/20180308105358.1506-4-ming.lei@redhat.com
kernel/irq/affinity.c