aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-05-17 15:11:02 +0200
committerThomas Gleixner <[email protected]>2023-05-31 21:45:49 +0200
commitb7a7ce1bb77b19ff2859d365da96285340fbc145 (patch)
treed9a2981cdbe59075dc7b45e4ec564bef341c69b9 /lib/mpi/mpiutil.c
parent7877cb91f1081754a1487c144d85dc0d2e2e7fc4 (diff)
vdso/timens: Always provide arch_get_vdso_data() prototype for vdso
The arch_get_vdso_data() function is defined separately on each architecture, but only called when CONFIG_TIME_NS is set. If the definition is a global function, this causes a W=1 warning without TIME_NS: arch/x86/entry/vdso/vma.c:35:19: error: no previous prototype for 'arch_get_vdso_data' [-Werror=missing-prototypes] Move the prototype out of the #ifdef block to reliably turn off that warning. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions