diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-12 06:46:40 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-12 06:46:40 (GMT) |
commit | 7e0b1e6186c755becf8b19c844c63db1a551898b (patch) | |
tree | eb98461a5b4eee6fbafbbe961c96a010b477d934 /arch/sparc/include | |
parent | d8ada0a2cd11c991d8193a3f7d37f1806c93c4a0 (diff) | |
download | linux-fsl-qoriq-7e0b1e6186c755becf8b19c844c63db1a551898b.tar.xz |
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')
-rw-r--r-- | arch/sparc/include/asm/visasm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/visasm.h b/arch/sparc/include/asm/visasm.h index de797b9..39ca301 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 */ |