summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/context.c
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2012-11-25 03:24:32 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-11-26 12:23:53 +0000
commit3e99675af1b25a191c467700499b1cbe5585a778 (patch)
tree516c40a67498aaee1246eeb9e7d2efec335176aa /arch/arm/mm/context.c
parentce7b175656a1903605f0184bf33acebff70bfe7f (diff)
downloadblackbird-op-linux-3e99675af1b25a191c467700499b1cbe5585a778.tar.gz
blackbird-op-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.c4
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
OpenPOWER on IntegriCloud