]> err.no Git - linux-2.6/commitdiff
sh: Tidy compiler warnings for SH-2A build.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 1 Jun 2007 08:26:13 +0000 (17:26 +0900)
committerPaul Mundt <lethal@hera.kernel.org>
Fri, 8 Jun 2007 02:43:46 +0000 (02:43 +0000)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/signal.c
arch/sh/kernel/traps.c

index 4fc5b402b21bfb6798227bfb2ad13ef8a59b2dd1..2d9131fbc6901dad73c5804ed24dda8d79083743 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/personality.h>
 #include <linux/binfmts.h>
 #include <linux/freezer.h>
+#include <linux/io.h>
 #include <asm/system.h>
 #include <asm/ucontext.h>
 #include <asm/uaccess.h>
index 9c7fb922dfe0d62c9b0929121277181a8d218a28..b97e71dae5795a759698968407d33bec03aa568f 100644 (file)
@@ -642,7 +642,6 @@ asmlinkage void do_divide_error(unsigned long r4, unsigned long r5,
                                unsigned long r6, unsigned long r7,
                                struct pt_regs __regs)
 {
-       struct pt_regs *regs = RELOC_HIDE(&__regs, 0);
        siginfo_t info;
 
        switch (r4) {