summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/traps_32.c
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-19 04:01:28 +0200
commit8e9f0935e00e73508fe1505e176b42f24f0b8a1b (patch)
tree4bccb98baad0165863d46f47896e827a4060c17b /arch/sparc/kernel/traps_32.c
parentsparc64: remove cast from output constraints in math asm statements (diff)
downloadlinux-8e9f0935e00e73508fe1505e176b42f24f0b8a1b.tar.xz
linux-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/kernel/traps_32.c')
-rw-r--r--arch/sparc/kernel/traps_32.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc/kernel/traps_32.c b/arch/sparc/kernel/traps_32.c
index a655e5bf92a7..6fd386c5232a 100644
--- a/arch/sparc/kernel/traps_32.c
+++ b/arch/sparc/kernel/traps_32.c
@@ -219,8 +219,6 @@ static unsigned long fake_fsr;
static unsigned long fake_queue[32] __attribute__ ((aligned (8)));
static unsigned long fake_depth;
-extern int do_mathemu(struct pt_regs *, struct task_struct *);
-
void do_fpe_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc,
unsigned long psr)
{