Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71679
b: refs/heads/master
c: af93ebc
h: refs/heads/master
i:
  71677: cca6d78
  71675: ae23dc5
  71671: ea49a0d
  71663: b53587b
  71647: df8799f
  71615: d27b491
  71551: 115b91a
  71423: a710eea
  71167: f069433
  70655: 8cebdcc
  69631: 921ed09
v: v3
  • Loading branch information
Andi Kleen authored and Thomas Gleixner committed Oct 19, 2007
1 parent 8303db7 commit f5fb021
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 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: 096708dcf71de6ab5f839ae68ee42275673dc178
refs/heads/master: af93ebc0b3ed8cdf93a6ed4bc1fab548f8059d0a
12 changes: 0 additions & 12 deletions trunk/arch/x86/mm/fault_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ static int vmalloc_fault(unsigned long address)
return 0;
}

static int page_fault_trace;
int show_unhandled_signals = 1;

/*
Expand Down Expand Up @@ -354,10 +353,6 @@ asmlinkage void __kprobes do_page_fault(struct pt_regs *regs,
if (likely(regs->eflags & X86_EFLAGS_IF))
local_irq_enable();

if (unlikely(page_fault_trace))
printk("pagefault rip:%lx rsp:%lx cs:%lu ss:%lu address %lx error %lx\n",
regs->rip,regs->rsp,regs->cs,regs->ss,address,error_code);

if (unlikely(error_code & PF_RSVD))
pgtable_bad(address, regs, error_code);

Expand Down Expand Up @@ -621,10 +616,3 @@ void vmalloc_sync_all(void)
BUILD_BUG_ON(!(((MODULES_END - 1) & PGDIR_MASK) ==
(__START_KERNEL & PGDIR_MASK)));
}

static int __init enable_pagefaulttrace(char *str)
{
page_fault_trace = 1;
return 1;
}
__setup("pagefaulttrace", enable_pagefaulttrace);

0 comments on commit f5fb021

Please sign in to comment.