Skip to content

Commit

Permalink
Apply "sh-optimize-runtime-disabling-of-trapped-IO.patch"
Browse files Browse the repository at this point in the history
  • Loading branch information
Debian kernel team committed Mar 12, 2011
1 parent b26e6b4 commit 12b79c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/sh/kernel/io_trapped.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ int handle_trapped_io(struct pt_regs *regs, unsigned long address)
insn_size_t instruction;
int tmp;

if (trapped_io_disable)
return 0;
if (!lookup_tiop(address))
return 0;

Expand Down

0 comments on commit 12b79c3

Please sign in to comment.