OSDN Git Service

x86/timers: Make recalibrate_cpu_khz() void
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Fri, 14 Jul 2017 03:34:07 +0000 (11:34 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 25 Sep 2017 13:22:44 +0000 (15:22 +0200)
commitaf5768507c051ceb9fe12bee59202bd83115c073
tree8f6a1ce7cbdc8e1ddbf139040887557bb70fbb60
parenteb496063c9904ce682253ee445b9acb9b6257581
x86/timers: Make recalibrate_cpu_khz() void

recalibrate_cpu_khz() is called from powernow K7 and Pentium 4/Xeon
CPU freq driver. It recalibrates cpu frequency in case of SMP = n
and doesn't need to return anything.

Mark it void, also remove the #else branch.

Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/1500003247-17368-2-git-send-email-douly.fnst@cn.fujitsu.com
arch/x86/include/asm/timer.h
arch/x86/kernel/tsc.c