OSDN Git Service

x86/tsc: Make art_related_clocksource static
authorChen Lifu <chenlifu@huawei.com>
Tue, 23 Aug 2022 02:18:21 +0000 (10:18 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 17 Oct 2022 14:20:48 +0000 (16:20 +0200)
commit3548eda8ae284d6d412d59f11cd20fc7df05362b
tree6dd38b611cc5b13cd9683c77076dc0f1f7b373c8
parent9abf2313adc1ca1b6180c508c25f22f9395cc780
x86/tsc: Make art_related_clocksource static

The symbol is not used outside of the file, so mark it static.

Fixes the following warning:

arch/x86/kernel/tsc.c:53:20: warning:
symbol 'art_related_clocksource' was not declared. Should it be static?

Signed-off-by: Chen Lifu <chenlifu@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20220823021821.3052159-1-chenlifu@huawei.com
arch/x86/kernel/tsc.c