aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/fault.c
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2009-01-21 14:45:41 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-21 15:36:54 -0500
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 033292dc9e21..8f4b859a04b3 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,
419 printk(KERN_ALERT "%s: Corrupted page table at address %lx\n", 419 printk(KERN_ALERT "%s: Corrupted page table at address %lx\n",
420 tsk->comm, address); 420 tsk->comm, address);
421 dump_pagetable(address); 421 dump_pagetable(address);
422 tsk = current;
423 tsk->thread.cr2 = address; 422 tsk->thread.cr2 = address;
424 tsk->thread.trap_no = 14; 423 tsk->thread.trap_no = 14;
425 tsk->thread.error_code = error_code; 424 tsk->thread.error_code = error_code;