[PATCH 03/03] Export remove_irq() and setup_irq() symbols

From: Magnus Damm
Date: Thu Mar 12 2009 - 08:10:12 EST


From: Magnus Damm <damm@xxxxxxxxxx>

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@xxxxxxxxxx>
---

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/