summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2018-01-19 16:51:01 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2018-01-19 16:52:17 +1100
commitb5bc11e6efa29ee928257e603346af221ae17d18 (patch)
tree8f62239043ca2027f18726dc1f0f17829cff2cdd
parent0065a22ad5085de590b05750bdd1c1a180b9ca13 (diff)
powerpc: temporary fix for tlbiel_all() and not CONFIG_PPC_NATIVE
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r--arch/powerpc/include/asm/book3s/64/tlbflush.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/book3s/64/tlbflush.h b/arch/powerpc/include/asm/book3s/64/tlbflush.h
index 9befb4df235c..0cac17253513 100644
--- a/arch/powerpc/include/asm/book3s/64/tlbflush.h
+++ b/arch/powerpc/include/asm/book3s/64/tlbflush.h
@@ -14,6 +14,7 @@ enum {
TLB_INVAL_SCOPE_LPID = 1, /* invalidate TLBs for current LPID */
};
+#ifdef CONFIG_PPC_NATIVE
static inline void tlbiel_all(void)
{
/*
@@ -29,6 +30,9 @@ static inline void tlbiel_all(void)
else
hash__tlbiel_all(TLB_INVAL_SCOPE_GLOBAL);
}
+#else
+static inline void tlbiel_all(void) { BUG(); };
+#endif
static inline void tlbiel_all_lpid(bool radix)
{