Re: [PATCH v3 1/3] RISC-V: Add RISC-V specific arch_match_cpu_phys_id

From: Palmer Dabbelt
Date: Mon Apr 29 2019 - 20:36:56 EST


On Tue, 23 Apr 2019 23:21:00 PDT (-0700), Christoph Hellwig wrote:
}
+
+bool arch_match_cpu_phys_id(int cpu, u64 phys_id)
+{
+ return phys_id == cpuid_to_hartid_map(cpu);
+}
/* Unsupported */

Please keep an empty line after function bodys.

Otherwise looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Oh, sorry, I missed this -- I just fixed up the patch and added your tag.