Re: [PATCH] openrisc: use device tree to determine present cpus

From: Jan Henrik Weinstock
Date: Sun Jan 31 2021 - 03:23:39 EST


On 31/01/2021 00:03, Stafford Horne wrote:

This looks good, one small comment below. Can you send the next patch as a v2?

Using 'git format-patch -v2 ...'

Sorry, was not aware of that, will do better next time!

Should we warn on the else case?

I think it is fine for the kernel to have room for more CPUs than are actually present (i.e. NR_CPUs > present_cpus is OK). Other Archs do not show a warning in this case either, therefore I also omitted it.

Gruss
Jan

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature