mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 04:50:52 +07:00
x86: optimise page fault entry, cleanup
tsk is already assigned to current, drop the redundant second assignment. Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
92181f190b
commit
fb746d0e13
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user