Re: [PATCH] riscv: tlb: Provide definition of tlb_flush() before including tlb.h

2018-08-27 Thread Palmer Dabbelt
On Fri, 24 Aug 2018 11:22:55 PDT (-0700), li...@roeck-us.net wrote: From: Will Deacon As of commit fd1102f0aade ("mm: mmu_notifier fix for tlb_end_vma"), asm-generic/tlb.h now calls tlb_flush() from a static inline function, so we need to make sure that it's declared before #including the asm-g

[PATCH] riscv: tlb: Provide definition of tlb_flush() before including tlb.h

2018-08-24 Thread Guenter Roeck
From: Will Deacon As of commit fd1102f0aade ("mm: mmu_notifier fix for tlb_end_vma"), asm-generic/tlb.h now calls tlb_flush() from a static inline function, so we need to make sure that it's declared before #including the asm-generic header in the arch header. Reported-by: Guenter Roeck Fixes: