summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@gmail.com>2008-04-02 03:58:38 +0400
committerRalf Baechle <ralf@linux-mips.org>2008-04-28 17:14:31 +0100
commit46684734dd6a55af09c3fe799af7d74cb938684c (patch)
tree117776ad58f5007000139b7f7d8031cc400d7a6d /arch/mips/kernel
parentc5b0680aa1d7a751b7dd8ebf6854e5baf0a2e54b (diff)
downloadtalos-op-linux-46684734dd6a55af09c3fe799af7d74cb938684c.tar.gz
talos-op-linux-46684734dd6a55af09c3fe799af7d74cb938684c.zip
[MIPS] unexport null_perf_irq() and make it static
This patch unexports the null_perf_irq() symbol, and simultaneously makes this function static. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/time.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c
index d70ce5ca4802..1f467d534642 100644
--- a/arch/mips/kernel/time.c
+++ b/arch/mips/kernel/time.c
@@ -49,13 +49,11 @@ int update_persistent_clock(struct timespec now)
return rtc_mips_set_mmss(now.tv_sec);
}
-int null_perf_irq(void)
+static int null_perf_irq(void)
{
return 0;
}
-EXPORT_SYMBOL(null_perf_irq);
-
int (*perf_irq)(void) = null_perf_irq;
EXPORT_SYMBOL(perf_irq);
OpenPOWER on IntegriCloud