]> git.baikalelectronics.ru Git - kernel.git/commit
tools/virtio/ringtest: fix run-on-all.sh to work without /dev/cpu
authorMike Rapoport <rppt@linux.vnet.ibm.com>
Wed, 4 May 2016 10:15:50 +0000 (13:15 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 6 Jun 2016 10:00:11 +0000 (13:00 +0300)
commitfd8e5f51952bd907c6b1e37166d3155b0bc9e828
treefd1a0f8127762337be66d51ef96e3e508cc05749
parentb9e682010e279f548f15adf1bb49e696c2162c6d
tools/virtio/ringtest: fix run-on-all.sh to work without /dev/cpu

/dev/cpu is only available on x86 with certain modules (e.g. msr) enabled.
Using lscpu to get processors count is more portable.

Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/ringtest/run-on-all.sh