All of lore.kernel.org
 help / color / mirror / Atom feed
From: Magnus Damm <magnus.damm@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@linux-foundation.org, lethal@linux-sh.org,
	Magnus Damm <magnus.damm@gmail.com>,
	tglx@linutronix.de, mingo@elte.hu
Subject: [PATCH 03/03] Export remove_irq() and setup_irq() symbols
Date: Thu, 12 Mar 2009 21:05:59 +0900	[thread overview]
Message-ID: <20090312120559.2926.82371.sendpatchset@rx1.opensource.se> (raw)
In-Reply-To: <20090312120534.2926.78511.sendpatchset@rx1.opensource.se>

From: Magnus Damm <damm@igel.co.jp>

Export the setup_irq() and remove_irq() symbols.

I'd like to export these functions since I have timer
code that needs to use setup_irq() early on (too early
for request_irq()), and the same code can also be
compiled as a module.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
---

 kernel/irq/manage.c |    2 ++
 1 file changed, 2 insertions(+)

--- 0003/kernel/irq/manage.c
+++ work/kernel/irq/manage.c	2009-03-12 18:49:09.000000000 +0900
@@ -549,6 +549,7 @@ int setup_irq(unsigned int irq, struct i
 
 	return __setup_irq(irq, desc, act);
 }
+EXPORT_SYMBOL(setup_irq);
 
 /*
  * Internal function to unregister an irqaction - used to free
@@ -640,6 +641,7 @@ void remove_irq(unsigned int irq, struct
 {
 	__free_irq(irq, act->dev_id);
 }
+EXPORT_SYMBOL(remove_irq);
 
 /**
  *	free_irq - free an interrupt allocated with request_irq

  parent reply	other threads:[~2009-03-12 12:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-12 12:05 [PATCH 00/03] Free setup_irq() interrupt V3 Magnus Damm
2009-03-12 12:05 ` [PATCH 01/03] Add remove_irq() for freeing of setup_irq() irqs Magnus Damm
2009-03-12 23:06   ` [tip:irq/genirq] irq: add " Magnus Damm
2009-03-12 12:05 ` [PATCH 02/03] Match remove_irq() args with setup_irq() Magnus Damm
2009-03-12 23:06   ` [tip:irq/genirq] irq: match " Magnus Damm
2009-03-12 12:05 ` Magnus Damm [this message]
2009-03-12 23:06   ` [tip:irq/genirq] irq: export remove_irq() and setup_irq() symbols Magnus Damm

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=20090312120559.2926.82371.sendpatchset@rx1.opensource.se \
    --to=magnus.damm@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=lethal@linux-sh.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.