configs: Use param to get number of processors
authorPo-Hao Su <supohaosu@gmail.com>
Mon, 22 Apr 2019 08:23:18 +0000 (16:23 +0800)
committerPo-Hao Su <supohaosu@gmail.com>
Mon, 22 Apr 2019 18:10:08 +0000 (18:10 +0000)
commit3a106e114a7008d13203af55dc54c02b34bd1069
tree262d728b92df610c09146b221b98f601595d0995
parent7976b561de61b7523ca9a860154ad7ba701d12a7
configs: Use param to get number of processors

Although the parameter np is the same as options.num_cpus. But we should
get the number of processors from the parameters of the function.

Change-Id: I3eb02d7c75ab35410b773b06001d1b145cdccd49
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18248
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
configs/example/fs.py