Skip to content

Commit

Permalink
[MIPS] unexport {allocate,free}_irqno
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Dmitri Vorobiev authored and Ralf Baechle committed Jul 15, 2008
1 parent 17f61e6 commit f366e20
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/mips/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ int allocate_irqno(void)
return irq;
}

EXPORT_SYMBOL_GPL(allocate_irqno);

/*
* Allocate the 16 legacy interrupts for i8259 devices. This happens early
* in the kernel initialization so treating allocation failure as BUG() is
Expand All @@ -66,8 +64,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.
Expand Down

0 comments on commit f366e20

Please sign in to comment.