diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-10-12 17:55:26 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-12 17:55:26 -0400 |
commit | ace2dc7d12693545b67f15ab8cdb3d255c937713 (patch) | |
tree | 18fa828ebe254e0137ec96a9e1cd4e146c6a7119 /arch/sh/kernel/io_trapped.c | |
parent | 5a30d7bfcd33c03f1f67d3e1c317eb5d6a6bc811 (diff) |
sh: wire up perf alignment and emulation faults.
This plugs in the alignment and emulation fault reporting for perf sw
events.
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/io_trapped.c b/arch/sh/kernel/io_trapped.c index 2947d2bd1291..32c385ef1011 100644 --- a/arch/sh/kernel/io_trapped.c +++ b/arch/sh/kernel/io_trapped.c | |||
@@ -291,7 +291,7 @@ int handle_trapped_io(struct pt_regs *regs, unsigned long address) | |||
291 | } | 291 | } |
292 | 292 | ||
293 | tmp = handle_unaligned_access(instruction, regs, | 293 | tmp = handle_unaligned_access(instruction, regs, |
294 | &trapped_io_access, 1); | 294 | &trapped_io_access, 1, address); |
295 | set_fs(oldfs); | 295 | set_fs(oldfs); |
296 | return tmp == 0; | 296 | return tmp == 0; |
297 | } | 297 | } |