aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/mm/fault.c
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2009-01-21 20:45:41 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-21 21:36:54 +0100
commitfb746d0e1365b7472ccc4c3d5b0672b34a092d0b (patch)
tree5b168b343035e2d3c4bc7453c820a117459c3907 /arch/x86/mm/fault.c
parent92181f190b649f7ef2b79cbf5c00f26ccc66da2a (diff)
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>
Diffstat (limited to 'arch/x86/mm/fault.c')
-rw-r--r--arch/x86/mm/fault.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index 033292dc9e2..8f4b859a04b 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -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;