projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92181f1
)
x86: optimise page fault entry, cleanup
author
Johannes Weiner
<hannes@cmpxchg.org>
Wed, 21 Jan 2009 19:45:41 +0000
(20:45 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 21 Jan 2009 20:36:54 +0000
(21:36 +0100)
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>
arch/x86/mm/fault.c
patch
|
blob
|
history
diff --git
a/arch/x86/mm/fault.c
b/arch/x86/mm/fault.c
index
033292d
..
8f4b859
100644
(file)
--- 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;