]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/arm/include/asm/mmu_context.h
nommu: Remove the context.id from asm-offsets.c when !MMU
[net-next-2.6.git] / arch / arm / include / asm / mmu_context.h
index 263fed05ea33d92ac281a58f681eb9310c3a4c50..bcdb9291ef0c3636d18442d9e8ea6fd36cebc425 100644 (file)
@@ -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