diff options
Diffstat (limited to 'arch/x86/mm/fault.c')
-rw-r--r-- | arch/x86/mm/fault.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index 65709a6aa6ee..d3eee74f830a 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c | |||
@@ -420,7 +420,6 @@ static noinline void pgtable_bad(struct pt_regs *regs, | |||
420 | printk(KERN_ALERT "%s: Corrupted page table at address %lx\n", | 420 | printk(KERN_ALERT "%s: Corrupted page table at address %lx\n", |
421 | tsk->comm, address); | 421 | tsk->comm, address); |
422 | dump_pagetable(address); | 422 | dump_pagetable(address); |
423 | tsk = current; | ||
424 | tsk->thread.cr2 = address; | 423 | tsk->thread.cr2 = address; |
425 | tsk->thread.trap_no = 14; | 424 | tsk->thread.trap_no = 14; |
426 | tsk->thread.error_code = error_code; | 425 | tsk->thread.error_code = error_code; |