aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-06-01 04:26:13 -0400
committerPaul Mundt <lethal@hera.kernel.org>2007-06-07 22:43:46 -0400
commitb66d51cb8039cf80b8aa5b157ed055cdea811104 (patch)
tree23c8a4ec4e9b8c436b448cbf0bbbfc34260503f7 /arch/sh/kernel
parent6240d92f2f2fb74094b66b3510733fa0a1e2631a (diff)
sh: Tidy compiler warnings for SH-2A build.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r--arch/sh/kernel/signal.c1
-rw-r--r--arch/sh/kernel/traps.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/signal.c b/arch/sh/kernel/signal.c
index 4fc5b402b21b..2d9131fbc690 100644
--- a/arch/sh/kernel/signal.c
+++ b/arch/sh/kernel/signal.c
@@ -23,6 +23,7 @@
23#include <linux/personality.h> 23#include <linux/personality.h>
24#include <linux/binfmts.h> 24#include <linux/binfmts.h>
25#include <linux/freezer.h> 25#include <linux/freezer.h>
26#include <linux/io.h>
26#include <asm/system.h> 27#include <asm/system.h>
27#include <asm/ucontext.h> 28#include <asm/ucontext.h>
28#include <asm/uaccess.h> 29#include <asm/uaccess.h>
diff --git a/arch/sh/kernel/traps.c b/arch/sh/kernel/traps.c
index 9c7fb922dfe0..b97e71dae579 100644
--- a/arch/sh/kernel/traps.c
+++ b/arch/sh/kernel/traps.c
@@ -642,7 +642,6 @@ asmlinkage void do_divide_error(unsigned long r4, unsigned long r5,
642 unsigned long r6, unsigned long r7, 642 unsigned long r6, unsigned long r7,
643 struct pt_regs __regs) 643 struct pt_regs __regs)
644{ 644{
645 struct pt_regs *regs = RELOC_HIDE(&__regs, 0);
646 siginfo_t info; 645 siginfo_t info;
647 646
648 switch (r4) { 647 switch (r4) {