aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/traps.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-14 17:26:34 +0900
committerPaul Mundt <lethal@hera.kernel.org>2007-06-08 02:43:37 +0000
commit882c12c4e1a95e55227f06dbb99eca90f237c018 (patch)
tree79375e920fda15947b58c635e9a067b2e85a0658 /arch/sh/kernel/traps.c
parentsh: Fixup machvec support. (diff)
downloadlinux-dev-882c12c4e1a95e55227f06dbb99eca90f237c018.tar.xz
linux-dev-882c12c4e1a95e55227f06dbb99eca90f237c018.zip
sh: Shut up SH2-DSP compile warnings.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/traps.c')
-rw-r--r--arch/sh/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/traps.c b/arch/sh/kernel/traps.c
index 299b8cf0f512..9c7fb922dfe0 100644
--- a/arch/sh/kernel/traps.c
+++ b/arch/sh/kernel/traps.c
@@ -614,7 +614,7 @@ uspace_segv:
*/
int is_dsp_inst(struct pt_regs *regs)
{
- unsigned short inst;
+ unsigned short inst = 0;
/*
* Safe guard if DSP mode is already enabled or we're lacking