summaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/visasm.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-05-16 23:25:50 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-18 19:01:29 -0700
commitf05a68653e56ca2f23bccf7e50be69486886f052 (patch)
treec312c5d8fe927962ba365d85cd43de6592bd6642 /arch/sparc/include/asm/visasm.h
parent77e39a79f36ece60769787a33fe5ae0b8b4621ba (diff)
sparc: drop use of extern for prototypes in arch/sparc/include/asm
Drop extern for all prototypes and adjust alignment of parameters as required after the removal. In a few rare cases adjust linelength to conform to maximum 80 chars, and likewise in a few rare cases adjust alignment of parameters to static functions. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/visasm.h b/arch/sparc/include/asm/visasm.h
index 39ca301920db..b26673759283 100644
--- a/arch/sparc/include/asm/visasm.h
+++ b/arch/sparc/include/asm/visasm.h
@@ -57,7 +57,8 @@ 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);
+
+int vis_emul(struct pt_regs *, unsigned int);
#endif
#endif /* _SPARC64_ASI_H */