diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2012-11-25 03:24:32 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-11-26 13:23:53 +0100 |
commit | 3e99675af1b25a191c467700499b1cbe5585a778 (patch) | |
tree | 516c40a67498aaee1246eeb9e7d2efec335176aa /arch/arm/mm/context.c | |
parent | ARM: 7585/1: kernel: fix nr_cpu_ids check in DT logical map init (diff) | |
download | linux-3e99675af1b25a191c467700499b1cbe5585a778.tar.xz linux-3e99675af1b25a191c467700499b1cbe5585a778.zip |
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) unsigned long flags; unsigned int cpu = smp_processor_id(); - if (unlikely(mm->context.kvm_seq != init_mm.context.kvm_seq)) - __check_kvm_seq(mm); + if (unlikely(mm->context.vmalloc_seq != init_mm.context.vmalloc_seq)) + __check_vmalloc_seq(mm); /* * Required during context switch to avoid speculative page table |