summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/process.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-14 10:26:34 +0200
committerPaul Mundt <lethal@hera.kernel.org>2007-06-08 04:43:37 +0200
commit882c12c4e1a95e55227f06dbb99eca90f237c018 (patch)
tree79375e920fda15947b58c635e9a067b2e85a0658 /arch/sh/kernel/process.c
parentsh: Fixup machvec support. (diff)
downloadlinux-882c12c4e1a95e55227f06dbb99eca90f237c018.tar.xz
linux-882c12c4e1a95e55227f06dbb99eca90f237c018.zip
sh: Shut up SH2-DSP compile warnings.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/process.c')
-rw-r--r--arch/sh/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c
index aa9c8112140b..9ae3da00eaae 100644
--- a/arch/sh/kernel/process.c
+++ b/arch/sh/kernel/process.c
@@ -406,8 +406,8 @@ asmlinkage int sys_fork(unsigned long r4, unsigned long r5,
unsigned long r6, unsigned long r7,
struct pt_regs __regs)
{
- struct pt_regs *regs = RELOC_HIDE(&__regs, 0);
#ifdef CONFIG_MMU
+ struct pt_regs *regs = RELOC_HIDE(&__regs, 0);
return do_fork(SIGCHLD, regs->regs[15], regs, 0, NULL, NULL);
#else
/* fork almost works, enough to trick you into looking elsewhere :-( */