Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166322
b: refs/heads/master
c: 40258ee
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Sep 24, 2009
1 parent f068a3f commit 33205ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 23c4c82171008c8b18d8627c9741cdd577631cea
refs/heads/master: 40258ee97d0d5e5c30a3d4b7acaf294fe82cd23f
12 changes: 6 additions & 6 deletions trunk/arch/sh/kernel/traps_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -678,12 +678,6 @@ asmlinkage void do_address_error(struct pt_regs *regs,
} else {
se_sys += 1;

if (se_kernmode_warn)
printk(KERN_NOTICE "Unaligned kernel access "
"on behalf of \"%s\" pid=%d pc=0x%p ins=0x%04hx\n",
current->comm, current->pid, (void *)regs->pc,
instruction);

if (regs->pc & 1)
die("unaligned program counter", regs, error_code);

Expand All @@ -697,6 +691,12 @@ asmlinkage void do_address_error(struct pt_regs *regs,
die("insn faulting in do_address_error", regs, 0);
}

if (se_kernmode_warn)
printk(KERN_NOTICE "Unaligned kernel access "
"on behalf of \"%s\" pid=%d pc=0x%p ins=0x%04hx\n",
current->comm, current->pid, (void *)regs->pc,
instruction);

handle_unaligned_access(instruction, regs,
&user_mem_access, 0);
set_fs(oldfs);
Expand Down

0 comments on commit 33205ed

Please sign in to comment.