diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2009-07-24 12:34:56 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2009-07-24 12:34:56 +0100 |
commit | 9a45f026bb3ba720765d46f62f5c464d3317a8ab (patch) | |
tree | fbcdaa507c496ee9864bdcdef4c0d2554251716c /arch/arm | |
parent | 09529f7a1a010cc364267fc5895a71c3853eb82c (diff) | |
download | linux-3.10-9a45f026bb3ba720765d46f62f5c464d3317a8ab.tar.gz linux-3.10-9a45f026bb3ba720765d46f62f5c464d3317a8ab.tar.bz2 linux-3.10-9a45f026bb3ba720765d46f62f5c464d3317a8ab.zip |
nommu: Remove the context.id from asm-offsets.c when !MMU
There is no MMU context switching on MMU-less systems.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/mmu_context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mmu_context.h b/arch/arm/include/asm/mmu_context.h index 263fed05ea3..bcdb9291ef0 100644 --- a/arch/arm/include/asm/mmu_context.h +++ b/arch/arm/include/asm/mmu_context.h @@ -62,8 +62,10 @@ static inline void check_context(struct mm_struct *mm) static inline void check_context(struct mm_struct *mm) { +#ifdef CONFIG_MMU if (unlikely(mm->context.kvm_seq != init_mm.context.kvm_seq)) __check_kvm_seq(mm); +#endif } #define init_new_context(tsk,mm) 0 |