projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
csky: Fix TLB maintenance synchronization problem
[linux-2.6-microblaze.git]
/
arch
/
csky
/
include
/
asm
/
mmu_context.h
diff --git
a/arch/csky/include/asm/mmu_context.h
b/arch/csky/include/asm/mmu_context.h
index
3767dbf
..
594167b
100644
(file)
--- a/
arch/csky/include/asm/mmu_context.h
+++ b/
arch/csky/include/asm/mmu_context.h
@@
-30,8
+30,7
@@
switch_mm(struct mm_struct *prev, struct mm_struct *next,
if (prev != next)
check_and_switch_context(next, cpu);
- setup_pgd(next->pgd);
- write_mmu_entryhi(next->context.asid.counter);
+ setup_pgd(next->pgd, next->context.asid.counter);
flush_icache_deferred(next);
}