Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86431
b: refs/heads/master
c: 622eaec
h: refs/heads/master
i:
  86429: dcff3c8
  86427: 487ca27
  86423: 1b915de
  86415: 2698d42
  86399: 25a0c42
v: v3
  • Loading branch information
David S. Miller committed Feb 27, 2008
1 parent 71b5f02 commit ab75be4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 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: 896aef430e5afb56b5f7b1d959226b8a6a08108a
refs/heads/master: 622eaec613130e6ea78f2a5d5070e3278b21cd8f
12 changes: 2 additions & 10 deletions trunk/arch/sparc64/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,16 +244,8 @@ static void do_kernel_fault(struct pt_regs *regs, int si_code, int fault_code,
if (regs->tstate & TSTATE_PRIV) {
const struct exception_table_entry *entry;

if (asi == ASI_P && (insn & 0xc0800000) == 0xc0800000) {
if (insn & 0x2000)
asi = (regs->tstate >> 24);
else
asi = (insn >> 5);
}

/* Look in asi.h: All _S asis have LS bit set */
if ((asi & 0x1) &&
(entry = search_exception_tables(regs->tpc))) {
entry = search_exception_tables(regs->tpc);
if (entry) {
regs->tpc = entry->fixup;
regs->tnpc = regs->tpc + 4;
return;
Expand Down

0 comments on commit ab75be4

Please sign in to comment.