From: Peter Zijlstra Date: Tue, 4 Sep 2018 14:00:53 +0000 (+0200) Subject: asm-generic/tlb, ia64: Conditionally provide tlb_migrate_finish() X-Git-Tag: v5.4-rc1~1137^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b6dd0c47894e2c190560914318aa4181bc8c2f2;p=platform%2Fkernel%2Flinux-rpi.git asm-generic/tlb, ia64: Conditionally provide tlb_migrate_finish() Needed for ia64 -- alternatively we drop the entire hook. Signed-off-by: Peter Zijlstra (Intel) Acked-by: Will Deacon Cc: Andrew Morton Cc: Andy Lutomirski Cc: Aneesh Kumar K.V Cc: Borislav Petkov Cc: Dave Hansen Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Nick Piggin Cc: Peter Zijlstra Cc: Rik van Riel Cc: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/include/asm-generic/tlb.h b/include/asm-generic/tlb.h index 6850d8b..1c86198 100644 --- a/include/asm-generic/tlb.h +++ b/include/asm-generic/tlb.h @@ -604,6 +604,8 @@ static inline void tlb_end_vma(struct mmu_gather *tlb, struct vm_area_struct *vm #endif /* CONFIG_MMU */ +#ifndef tlb_migrate_finish #define tlb_migrate_finish(mm) do {} while (0) +#endif #endif /* _ASM_GENERIC__TLB_H */