projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: Init new mmu_context for each possible CPU to avoid memory corruption
[firefly-linux-kernel-4.4.55.git]
/
arch
/
mips
/
include
/
asm
/
mmu_context.h
diff --git
a/arch/mips/include/asm/mmu_context.h
b/arch/mips/include/asm/mmu_context.h
index e81d719efcd18e9e226d07e8d69e29b970c89280..49d220ccc1455377098447e26856564633f0437e 100644
(file)
--- a/
arch/mips/include/asm/mmu_context.h
+++ b/
arch/mips/include/asm/mmu_context.h
@@
-133,7
+133,7
@@
init_new_context(struct task_struct *tsk, struct mm_struct *mm)
{
int i;
- for_each_
onlin
e_cpu(i)
+ for_each_
possibl
e_cpu(i)
cpu_context(i, mm) = 0;
return 0;