diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2009-01-21 19:45:41 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-21 20:36:54 (GMT) |
commit | fb746d0e1365b7472ccc4c3d5b0672b34a092d0b (patch) | |
tree | 5b168b343035e2d3c4bc7453c820a117459c3907 | |
parent | 92181f190b649f7ef2b79cbf5c00f26ccc66da2a (diff) | |
download | linux-fsl-qoriq-fb746d0e1365b7472ccc4c3d5b0672b34a092d0b.tar.xz |
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>
-rw-r--r-- | arch/x86/mm/fault.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index 033292d..8f4b859 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; |