summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/book3s_hv_ras.c
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2016-10-10 02:31:20 +0200
committerPaul Mackerras <paulus@ozlabs.org>2016-11-21 05:17:54 +0100
commitebe4535fbe7a190e13c0e175e7e7a02898dbac33 (patch)
tree0cd06ba557355787d5c69fd49f4975285d375d19 /arch/powerpc/kvm/book3s_hv_ras.c
parentKVM: PPC: Book3S HV: Fix sparse static warning (diff)
downloadlinux-ebe4535fbe7a190e13c0e175e7e7a02898dbac33.tar.xz
linux-ebe4535fbe7a190e13c0e175e7e7a02898dbac33.zip
KVM: PPC: Book3S HV: sparse: prototypes for functions called from assembler
A bunch of KVM functions are only called from assembler. Give them prototypes in asm-prototypes.h This reduces sparse warnings. Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kvm/book3s_hv_ras.c')
-rw-r--r--arch/powerpc/kvm/book3s_hv_ras.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/book3s_hv_ras.c b/arch/powerpc/kvm/book3s_hv_ras.c
index 0fa70a9618d7..be1cee5dc032 100644
--- a/arch/powerpc/kvm/book3s_hv_ras.c
+++ b/arch/powerpc/kvm/book3s_hv_ras.c
@@ -16,6 +16,7 @@
#include <asm/machdep.h>
#include <asm/cputhreads.h>
#include <asm/hmi.h>
+#include <asm/asm-prototypes.h>
/* SRR1 bits for machine check on POWER7 */
#define SRR1_MC_LDSTERR (1ul << (63-42))