hwpoison.sh: use default child process num for each workload.

If I run hwpoison.sh without -C option I get the following errors:

./hwpoison.sh: line 366: [: -eq: unary operator expected
./hwpoison.sh: line 371: [: -gt: unary operator expected
./hwpoison.sh: line 372: [: -eq: unary operator expected

The reason is g_children is NULL, which should be zero.

Reported-by: Evan McNabb <emcnabb@redhat.com>
Signed-off-by: Haicheng Li <haicheng.li@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
1 file changed