Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=882c12c4e1a95e55227f06dbb99eca90f237c018
Commit:     882c12c4e1a95e55227f06dbb99eca90f237c018
Parent:     9655ad03af2d232c3b26e7562ab4f8c29b107e49
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Mon May 14 17:26:34 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Fri Jun 8 02:43:37 2007 +0000

    sh: Shut up SH2-DSP compile warnings.
    
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
---
 arch/sh/kernel/process.c |    2 +-
 arch/sh/kernel/traps.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c
index aa9c811..9ae3da0 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 :-( */
diff --git a/arch/sh/kernel/traps.c b/arch/sh/kernel/traps.c
index 299b8cf..9c7fb92 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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to