Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 12 Aug 2019 07:43:37 -0700 | From | Christoph Hellwig <> | Subject | Re: [PATCH] riscv: fix flush_tlb_range() end address for flush_tlb_page() |
| |
> #define flush_tlb_range(vma, start, end) \ > remote_sfence_vma(mm_cpumask((vma)->vm_mm), start, (end) - (start)) > -#define flush_tlb_mm(mm) \ > + > +static inline void flush_tlb_page(struct vm_area_struct *vma, > + unsigned long addr) { > + flush_tlb_range(vma, addr, addr + PAGE_SIZE); > +}
Please put the opening brace on a line of its own.
Otherwise looks fine:
Reviewed-by: Christoph Hellwig <hch@lst.de>
| ![\](/images/icornerr.gif) |