projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.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
|
blame
|
history
diff --git
a/arch/x86/mm/fault.c
b/arch/x86/mm/fault.c
index 033292dc9e214d96b28ff6154bca2af366b4b711..8f4b859a04b3ff95caabfcfce54523e3adc1c313 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;