diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2012-11-24 21:24:32 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-11-26 07:23:53 -0500 |
commit | 3e99675af1b25a191c467700499b1cbe5585a778 (patch) | |
tree | 516c40a67498aaee1246eeb9e7d2efec335176aa /arch/arm/mm/context.c | |
parent | ce7b175656a1903605f0184bf33acebff70bfe7f (diff) |
ARM: 7582/2: rename kvm_seq to vmalloc_seq so to avoid confusion with KVM
The kvm_seq value has nothing to do what so ever with this other KVM.
Given that KVM support on ARM is imminent, it's best to rename kvm_seq
into something else to clearly identify what it is about i.e. a sequence
number for vmalloc section mappings.
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/context.c')
-rw-r--r-- | arch/arm/mm/context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mm/context.c b/arch/arm/mm/context.c index 7a27d7363be2..bc4a5e9ebb78 100644 --- a/arch/arm/mm/context.c +++ b/arch/arm/mm/context.c | |||
@@ -186,8 +186,8 @@ void check_and_switch_context(struct mm_struct *mm, struct task_struct *tsk) | |||
186 | unsigned long flags; | 186 | unsigned long flags; |
187 | unsigned int cpu = smp_processor_id(); | 187 | unsigned int cpu = smp_processor_id(); |
188 | 188 | ||
189 | if (unlikely(mm->context.kvm_seq != init_mm.context.kvm_seq)) | 189 | if (unlikely(mm->context.vmalloc_seq != init_mm.context.vmalloc_seq)) |
190 | __check_kvm_seq(mm); | 190 | __check_vmalloc_seq(mm); |
191 | 191 | ||
192 | /* | 192 | /* |
193 | * Required during context switch to avoid speculative page table | 193 | * Required during context switch to avoid speculative page table |