Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[MIPS] unexport {allocate,free}_irqno

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>

authored by

Dmitri Vorobiev and committed by
Ralf Baechle
f366e208 17f61e61

-4
-4
arch/mips/kernel/irq.c
··· 44 44 return irq; 45 45 } 46 46 47 - EXPORT_SYMBOL_GPL(allocate_irqno); 48 - 49 47 /* 50 48 * Allocate the 16 legacy interrupts for i8259 devices. This happens early 51 49 * in the kernel initialization so treating allocation failure as BUG() is ··· 63 65 clear_bit(irq, irq_map); 64 66 smp_mb__after_clear_bit(); 65 67 } 66 - 67 - EXPORT_SYMBOL_GPL(free_irqno); 68 68 69 69 /* 70 70 * 'what should we do if we get a hw irq event on an illegal vector'.