aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-11-07 15:43:54 -0500
committerJens Axboe <axboe@kernel.dk>2018-11-07 15:43:54 -0500
commita0fedc857dff457e123aeaa2039d28ac90e543df (patch)
tree9f9a8bba856f5ad95acbef2c9109c061452a9f6f /include/linux
parent9cf2bab6307659b940da65d16dcc8f82c69f3a97 (diff)
parent6da4b3ab9a6e9b1b5f90322ab3fa3a7dd18edb19 (diff)
Merge branch 'irq/for-block' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into for-4.21/block
Pull in the irq affinity commits, that are staged through Thomas's tree. * 'irq/for-block' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: genirq/affinity: Add support for allocating interrupt sets genirq/affinity: Pass first vector to __irq_build_affinity_masks() genirq/affinity: Move two stage affinity spreading into a helper function genirq/affinity: Spread IRQs to all available NUMA nodes
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/interrupt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index 1d6711c28271..ca397ff40836 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -247,10 +247,14 @@ struct irq_affinity_notify {
247 * the MSI(-X) vector space 247 * the MSI(-X) vector space
248 * @post_vectors: Don't apply affinity to @post_vectors at end of 248 * @post_vectors: Don't apply affinity to @post_vectors at end of
249 * the MSI(-X) vector space 249 * the MSI(-X) vector space
250 * @nr_sets: Length of passed in *sets array
251 * @sets: Number of affinitized sets
250 */ 252 */
251struct irq_affinity { 253struct irq_affinity {
252 int pre_vectors; 254 int pre_vectors;
253 int post_vectors; 255 int post_vectors;
256 int nr_sets;
257 int *sets;
254}; 258};
255 259
256#if defined(CONFIG_SMP) 260#if defined(CONFIG_SMP)