x86: Fix Sparse warnings about non-static functions
authorColin Ian King <colin.king@canonical.com>
Wed, 6 Dec 2017 17:33:58 +0000 (17:33 +0000)
committerIngo Molnar <mingo@kernel.org>
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 <colin.king@canonical.com>
Acked-by: Mike Travis <mike.travis@hpe.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jiri Kosina <trivial@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Russ Anderson <russ.anderson@hpe.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: kernel-janitors@vger.kernel.org
Cc: travis@sgi.com
Link: http://lkml.kernel.org/r/20171206173358.24388-1-colin.king@canonical.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/apic/vector.c
arch/x86/platform/uv/uv_nmi.c