Commit 5d8d1d33 authored by Catalin Marinas's avatar Catalin Marinas

nommu: Remove the context.id from asm-offsets.c when !MMU

There is no MMU context switching on MMU-less systems.
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 8e56af5d
......@@ -60,8 +60,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment