linux-smp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Export irq_set_affinity()
@ 2008-07-20 15:46 Emil Medve
  2008-07-20 16:16 ` Arjan van de Ven
  0 siblings, 1 reply; 2+ messages in thread
From: Emil Medve @ 2008-07-20 15:46 UTC (permalink / raw)
  To: torvalds, mingo, tglx, linux-kernel, linux-smp; +Cc: Emil Medve

Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
---

This is needed for drivers built as modules and running on SMP systems that want
to set initial/default explicit IRQ balancing

$ scripts/checkpatch.pl 0001-Export-irq_set_affinity.patch 
total: 0 errors, 0 warnings, 7 lines checked

0001-Export-irq_set_affinity.patch has no obvious style problems and is ready for submission.

 kernel/irq/manage.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 77a51be..29c5b5a 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -96,6 +96,7 @@ int irq_set_affinity(unsigned int irq, cpumask_t cpumask)
 #endif
 	return 0;
 }
+EXPORT_SYMBOL(irq_set_affinity);
 
 #ifndef CONFIG_AUTO_IRQ_AFFINITY
 /*
-- 
1.5.6.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Export irq_set_affinity()
  2008-07-20 15:46 [PATCH] Export irq_set_affinity() Emil Medve
@ 2008-07-20 16:16 ` Arjan van de Ven
  0 siblings, 0 replies; 2+ messages in thread
From: Arjan van de Ven @ 2008-07-20 16:16 UTC (permalink / raw)
  To: Emil Medve; +Cc: torvalds, mingo, tglx, linux-kernel, linux-smp, Emil Medve

On Sun, 20 Jul 2008 10:46:19 -0500
Emil Medve <Emilian.Medve@Freescale.com> wrote:

> Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
> ---
> 
> This is needed for drivers built as modules and running on SMP
> systems that want to set initial/default explicit IRQ balancing

hi,

can you give an example of such a driver? It's custom to post such an
export patch as part of the patch that starts using the export...

Also... how much of this is already covered by the "don't balance" IRQ
flag already ?



-- 
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-20 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-20 15:46 [PATCH] Export irq_set_affinity() Emil Medve
2008-07-20 16:16 ` Arjan van de Ven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).