[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190812144337.GA26897@infradead.org>
Date: Mon, 12 Aug 2019 07:43:37 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Paul Walmsley <paul.walmsley@...ive.com>
Cc: linux-riscv@...ts.infradead.org, schwab@...e.de,
linux-kernel@...r.kernel.org
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@....de>
Powered by blists - more mailing lists