Re: [PATCH 5/5] riscv: use for_each_of_cpu_node iterator
From: Christoph Hellwig
Date: Tue Feb 12 2019 - 02:13:43 EST
On Fri, Jan 18, 2019 at 03:03:08PM +0100, Johan Hovold wrote:
> Use the new for_each_of_cpu_node() helper to iterate over cpu nodes
> instead of open coding. Note that this will allow matching also on the
> node name instead of the (for FDT) deprecated device_type property.
>
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
I think this is going to conflict with the ELF caps changes from
Atish. Maybe the riscv_fill_hwcap hunk should be included in his
patch?
Otherwise looks good:
Reviewed-by: Christoph Hellwig <hch@xxxxxx>