Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb746d0e authored by Johannes Weiner's avatar Johannes Weiner Committed by Ingo Molnar
Browse files

x86: optimise page fault entry, cleanup



tsk is already assigned to current, drop the redundant second
assignment.

Signed-off-by: default avatarJohannes Weiner <hannes@cmpxchg.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 92181f19
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -419,7 +419,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;