summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/tlbflush.h
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ozlabs.org>2011-04-12 19:00:04 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-04-20 16:59:20 +1000
commit5e8e7b404ac965be45e25d5538676151de89aefb (patch)
treecd52be505e33150a2bd2afb271ee6e93b2984498 /arch/powerpc/include/asm/tlbflush.h
parentaf2771493a1bf79cd9a1ab4f30327c428b5bd67c (diff)
powerpc/mm: Standardise on MMU_NO_CONTEXT
Use MMU_NO_CONTEXT as the initialiser for mm_context.id on nohash and hash64. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/tlbflush.h')
-rw-r--r--arch/powerpc/include/asm/tlbflush.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/tlbflush.h b/arch/powerpc/include/asm/tlbflush.h
index d50a380b2b6..81143fcbd11 100644
--- a/arch/powerpc/include/asm/tlbflush.h
+++ b/arch/powerpc/include/asm/tlbflush.h
@@ -79,6 +79,8 @@ static inline void local_flush_tlb_mm(struct mm_struct *mm)
#elif defined(CONFIG_PPC_STD_MMU_64)
+#define MMU_NO_CONTEXT 0
+
/*
* TLB flushing for 64-bit hash-MMU CPUs
*/