summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorDou Liyang <douly.fnst@cn.fujitsu.com>2017-06-13 10:30:29 +0800
committerIngo Molnar <mingo@kernel.org>2017-06-13 08:42:09 +0200
commitb1b4f2fe68393f80480545b5e67a50f7bda8e9a7 (patch)
tree00cca9c145712506186ba5a6cbd1d9b609f825a9 /arch/x86/kernel
parent855615eee9b1989cac8ec5eaae4562db081a239b (diff)
downloadop-kernel-dev-b1b4f2fe68393f80480545b5e67a50f7bda8e9a7.zip
op-kernel-dev-b1b4f2fe68393f80480545b5e67a50f7bda8e9a7.tar.gz
x86/time: Make setup_default_timer_irq() static
This function isn't used outside of time.c, so let's mark it static. Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1497321029-29049-1-git-send-email-douly.fnst@cn.fujitsu.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/time.c b/arch/x86/kernel/time.c
index d39c091..e0754cd 100644
--- a/arch/x86/kernel/time.c
+++ b/arch/x86/kernel/time.c
@@ -66,7 +66,7 @@ static struct irqaction irq0 = {
.name = "timer"
};
-void __init setup_default_timer_irq(void)
+static void __init setup_default_timer_irq(void)
{
if (!nr_legacy_irqs())
return;
OpenPOWER on IntegriCloud