aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/visasm.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-11 23:46:40 -0700
committerDavid S. Miller <davem@davemloft.net>2008-09-11 23:46:40 -0700
commit7e0b1e6186c755becf8b19c844c63db1a551898b (patch)
treeeb98461a5b4eee6fbafbbe961c96a010b477d934 /arch/sparc/include/asm/visasm.h
parentd8ada0a2cd11c991d8193a3f7d37f1806c93c4a0 (diff)
sparc64: Fix sparse warnings in visemul.c
1) edge8 tables should be static 2) add vis_emul() extern decl. to asm/visasm.h Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/visasm.h')
-rw-r--r--arch/sparc/include/asm/visasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/visasm.h b/arch/sparc/include/asm/visasm.h
index de797b9bf55..39ca301920d 100644
--- a/arch/sparc/include/asm/visasm.h
+++ b/arch/sparc/include/asm/visasm.h
@@ -57,6 +57,7 @@ static inline void save_and_clear_fpu(void) {
" " : : "i" (FPRS_FEF|FPRS_DU) :
"o5", "g1", "g2", "g3", "g7", "cc");
}
+extern int vis_emul(struct pt_regs *, unsigned int);
#endif
#endif /* _SPARC64_ASI_H */