[PATCH] Consistently use nproc for counting the CPUs

Tom Rini trini at konsulko.com
Fri Jan 31 02:41:13 CET 2020


On Mon, Jan 27, 2020 at 07:59:46AM +0100, Heinrich Schuchardt wrote:

> Coreutils command nproc can be used on Linux and BSD to count the number of
> available CPU cores. Use this instead of relying on the parsing of the
> Linux specific proc file system.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200130/abcf7385/attachment.sig>


More information about the U-Boot mailing list