aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/processor_32.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-05-16 23:25:48 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-18 19:01:28 -0700
commit8e9f0935e00e73508fe1505e176b42f24f0b8a1b (patch)
tree4bccb98baad0165863d46f47896e827a4060c17b /arch/sparc/include/asm/processor_32.h
parentsparc64: remove cast from output constraints in math asm statements (diff)
downloadlinux-dev-8e9f0935e00e73508fe1505e176b42f24f0b8a1b.tar.xz
linux-dev-8e9f0935e00e73508fe1505e176b42f24f0b8a1b.zip
sparc: fix sparse warning in math_{32,64}
Fix following sparse warning: math_{32,64}.c: warning: symbol 'do_mathemu' was not declared. Should it be static? Add prototype in processor_{32,64} and drop extern in traps_{32,64}.c Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/processor_32.h')
-rw-r--r--arch/sparc/include/asm/processor_32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/processor_32.h b/arch/sparc/include/asm/processor_32.h
index 2c7baa4c4505..2bc981880fa6 100644
--- a/arch/sparc/include/asm/processor_32.h
+++ b/arch/sparc/include/asm/processor_32.h
@@ -116,6 +116,7 @@ extern unsigned long get_wchan(struct task_struct *);
#ifdef __KERNEL__
extern struct task_struct *last_task_used_math;
+int do_mathemu(struct pt_regs *regs, struct task_struct *fpt);
#define cpu_relax() barrier()
extern void (*sparc_idle)(void);