x86: Fix Sparse warnings about non-static functions
authorColin Ian King <[email protected]>
Wed, 6 Dec 2017 17:33:58 +0000 (17:33 +0000)
committerIngo Molnar <[email protected]>
Wed, 6 Dec 2017 18:32:58 +0000 (19:32 +0100)
commitd553d03f705721fbbfe3ca1c981812d3e488217e
treef1f7cd348dc1cb8422ee82f31a2dc03a2d2a7748
parent5b06bbcfc2c621da3009da8decb7511500c293ed
x86: Fix Sparse warnings about non-static functions

Functions x86_vector_debug_show(), uv_handle_nmi() and uv_nmi_setup_common()
are local to the source and do not need to be in global scope, so make them
static.

Fixes up various sparse warnings.

Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Mike Travis <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Russ Anderson <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/apic/vector.c
arch/x86/platform/uv/uv_nmi.c