Skip to content

Commit

Permalink
nommu: Remove the context.id from asm-offsets.c when !MMU
Browse files Browse the repository at this point in the history
There is no MMU context switching on MMU-less systems.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
  • Loading branch information
Catalin Marinas committed Jul 24, 2009
1 parent 09529f7 commit 9a45f02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/include/asm/mmu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a45f02

Please sign in to comment.