[PATCH 4/5] [MIPS] unexport {allocate,free}_irqno

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dmitri Vorobiev
Date: Thursday, May 29, 2008 - 7:57 am

The following routines

allocate_irqno()
free_irqno()

seem not to be used outside of the core kernel code, hence
exporting these functions is pointless. This patch removes
the export.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
---
 arch/mips/kernel/irq.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/arch/mips/kernel/irq.c b/arch/mips/kernel/irq.c
index ba4e331..ffd80de 100644
--- a/arch/mips/kernel/irq.c
+++ b/arch/mips/kernel/irq.c
@@ -44,8 +44,6 @@ again:
 	return irq;
 }
 
-EXPORT_SYMBOL_GPL(allocate_irqno);
-
 void free_irqno(unsigned int irq)
 {
 	smp_mb__before_clear_bit();
@@ -53,8 +51,6 @@ void free_irqno(unsigned int irq)
 	smp_mb__after_clear_bit();
 }
 
-EXPORT_SYMBOL_GPL(free_irqno);
-
 /*
  * 'what should we do if we get a hw irq event on an illegal vector'.
  * each architecture has to answer this themselves.
-- 
1.4.4.3

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/5] [MIPS] Make two functions static, Dmitri Vorobiev, (Thu May 29, 7:57 am)
[PATCH 4/5] [MIPS] unexport {allocate,free}_irqno, Dmitri Vorobiev, (Thu May 29, 7:57 am)
Re: [PATCH 5/5] [MIPS] The tickcount per-cpu variable can ..., Dmitri Vorobiev, (Fri May 30, 12:58 am)