summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/io_trapped.c
diff options
context:
space:
mode:
authorMatt Fleming <matt@console-pimps.org>2009-08-28 21:37:20 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-08-29 20:31:44 +0900
commit4aa5ac4ef44dd8c986241c54298abd7910b78b3f (patch)
tree960cfde9c92d8d50ae04e3c6042143e101d16ae1 /arch/sh/kernel/io_trapped.c
parente79d57479c86e388051244e1f17851a0e63d1ff0 (diff)
downloadlinux-4aa5ac4ef44dd8c986241c54298abd7910b78b3f.tar.gz
linux-4aa5ac4ef44dd8c986241c54298abd7910b78b3f.tar.bz2
linux-4aa5ac4ef44dd8c986241c54298abd7910b78b3f.zip
sh: Only shout about fixing up unexpected unaligned accesses
Some unaligned accesses are completely expected. For example, the trapped_io code uses the unaligned access fixup code path so there's no need to warn about having to fixup the unaligned access. Signed-off-by: Matt Fleming <matt@console-pimps.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/io_trapped.c')
-rw-r--r--arch/sh/kernel/io_trapped.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/kernel/io_trapped.c b/arch/sh/kernel/io_trapped.c
index e27a19e1f46e..69be603aa2d7 100644
--- a/arch/sh/kernel/io_trapped.c
+++ b/arch/sh/kernel/io_trapped.c
@@ -284,7 +284,8 @@ int handle_trapped_io(struct pt_regs *regs, unsigned long address)
return 0;
}
- tmp = handle_unaligned_access(instruction, regs, &trapped_io_access);
+ tmp = handle_unaligned_access(instruction, regs,
+ &trapped_io_access, 1);
set_fs(oldfs);
return tmp == 0;
}