]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/mm/fault.c
Merge branches 'x86/asm', 'x86/cleanups', 'x86/cpudetect', 'x86/debug', 'x86/doc...
[linux-2.6-omap-h63xx.git] / arch / x86 / mm / fault.c
index 65709a6aa6ee046dab8e3368075a371cd4e2a6a0..d3eee74f830ad71bbc2fdad868e9f3549a581d96 100644 (file)
@@ -420,7 +420,6 @@ static noinline void pgtable_bad(struct pt_regs *regs,
        printk(KERN_ALERT "%s: Corrupted page table at address %lx\n",
               tsk->comm, address);
        dump_pagetable(address);
-       tsk = current;
        tsk->thread.cr2 = address;
        tsk->thread.trap_no = 14;
        tsk->thread.error_code = error_code;