linux-smp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Emil Medve <Emilian.Medve@Freescale.com>
To: torvalds@linux-foundation.org, mingo@redhat.com,
	tglx@linutronix.de, linux-kernel@vger.kernel.org,
	linux-smp@vger.kernel.org
Cc: Emil Medve <Emilian.Medve@Freescale.com>
Subject: [PATCH] Export irq_set_affinity()
Date: Sun, 20 Jul 2008 10:46:19 -0500	[thread overview]
Message-ID: <1216568779-11828-1-git-send-email-Emilian.Medve@Freescale.com> (raw)

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


             reply	other threads:[~2008-07-20 15:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-20 15:46 Emil Medve [this message]
2008-07-20 16:16 ` [PATCH] Export irq_set_affinity() Arjan van de Ven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1216568779-11828-1-git-send-email-Emilian.Medve@Freescale.com \
    --to=emilian.medve@freescale.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-smp@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).