diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2023-07-13 13:58:31 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2023-07-20 12:48:26 +0200 |
commit | 71e06e1acecbb50e712a3be9a7d56778509f3538 (patch) | |
tree | 073e737d8928339809b5e06660f9155a0b1f3290 /arch/x86/mm | |
parent | arm64: mm: Make hibernation aware of KFENCE (diff) | |
download | linux-71e06e1acecbb50e712a3be9a7d56778509f3538.tar.xz linux-71e06e1acecbb50e712a3be9a7d56778509f3538.zip |
arm64: vdso: Clear common make C=2 warnings
make C=2 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- xxx.o
When I use the command above to do a 'make C=2' check on any object file,
the following warnings are always output:
CHECK arch/arm64/kernel/vdso/vgettimeofday.c
arch/arm64/kernel/vdso/vgettimeofday.c:9:5: warning:
symbol '__kernel_clock_gettime' was not declared. Should it be static?
arch/arm64/kernel/vdso/vgettimeofday.c:15:5: warning:
symbol '__kernel_gettimeofday' was not declared. Should it be static?
arch/arm64/kernel/vdso/vgettimeofday.c:21:5: warning:
symbol '__kernel_clock_getres' was not declared. Should it be static?
Therefore, the declaration of the three functions is added to eliminate
these common warnings to provide a clean output.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20230713115831.777-1-thunder.leizhen@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/x86/mm')
0 files changed, 0 insertions, 0 deletions