aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/irq.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2009-04-27 21:02:23 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-28 06:21:18 -0400
commitd047f53a2ecce37e3bdf79eac5a326fbaadb3628 (patch)
tree1097e49b711d07c77071c93d2c3a5f7f63d5cf05 /include/linux/irq.h
parent024154cfdd802654cb236a18c78b6e37351e2c49 (diff)
x86/irq: change MSI irq_desc to be more numa aware
Try to get irq_desc on the home node in create_irq_nr(). v2: don't check if we can move it when sparse_irq is not used v3: use move_irq_des, if that node is not what we want [ Impact: optimization, make MSI IRQ descriptors more NUMA aware ] Signed-off-by: Yinghai Lu <yinghai@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Suresh Siddha <suresh.b.siddha@intel.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Rusty Russell <rusty@rustcorp.com.au> LKML-Reference: <49F6559F.7070005@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r--include/linux/irq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h
index a09baf8f9d99..4b95ddb5304b 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -376,7 +376,7 @@ extern void set_irq_noprobe(unsigned int irq);
376extern void set_irq_probe(unsigned int irq); 376extern void set_irq_probe(unsigned int irq);
377 377
378/* Handle dynamic irq creation and destruction */ 378/* Handle dynamic irq creation and destruction */
379extern unsigned int create_irq_nr(unsigned int irq_want); 379extern unsigned int create_irq_nr(unsigned int irq_want, int node);
380extern int create_irq(void); 380extern int create_irq(void);
381extern void destroy_irq(unsigned int irq); 381extern void destroy_irq(unsigned int irq);
382 382