lkml.org 
[lkml]   [2009]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH 03/03] Export remove_irq() and setup_irq() symbols
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

\
 
 \ /
  Last update: 2009-03-12 13:15    [W:0.040 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site