x86/uv/nmi: Fix Sparse warnings
authorMike Travis <travis@sgi.com>
Tue, 14 Jan 2014 16:25:53 +0000 (10:25 -0600)
committerIngo Molnar <mingo@kernel.org>
Sat, 25 Jan 2014 07:55:10 +0000 (08:55 +0100)
commit74c93f9d39b556ff9ac2340d568ad5caf8446c65
tree0f2c0ae5687b675fc4d1d33cb3cb1d33535714cd
parentfc8b13740b2978b34872650cc8e928392e3758aa
x86/uv/nmi: Fix Sparse warnings

Make uv_register_nmi_notifier() and uv_handle_nmi_ping() static
to address sparse warnings.

Fix problem where uv_nmi_kexec_failed is unused when
CONFIG_KEXEC is not defined.

Signed-off-by: Mike Travis <travis@sgi.com>
Reviewed-by: Hedi Berriche <hedi@sgi.com>
Cc: Russ Anderson <rja@sgi.com>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Link: http://lkml.kernel.org/r/20140114162551.480872353@asylum.americas.sgi.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/uv/uv.h
arch/x86/kernel/apic/x2apic_uv_x.c
arch/x86/platform/uv/uv_nmi.c