Home
last modified time | relevance | path

Searched refs:CTX_VERSION_MASK (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/sparc/include/asm/
H A Dmmu_64.h20 #define CTX_VERSION_MASK ((~0UL) << CTX_VERSION_SHIFT) macro
58 (!(((__ctx.sparc64_ctx_val) ^ tlb_context_cache) & CTX_VERSION_MASK))
/openbmc/linux/arch/sparc/mm/
H A Dinit_64.c768 unsigned long old_ver = tlb_context_cache & CTX_VERSION_MASK; in mmu_context_wrap()
778 new_ver = (tlb_context_cache & CTX_VERSION_MASK) + CTX_FIRST_VERSION; in mmu_context_wrap()
805 if (likely((old_ctx & CTX_VERSION_MASK) == old_ver)) { in mmu_context_wrap()
806 new_ctx = (old_ctx & ~CTX_VERSION_MASK) | new_ver; in mmu_context_wrap()
846 new_ctx |= (tlb_context_cache & CTX_VERSION_MASK); in get_new_mmu_context()