Skip to content
Commit 24aca4ae authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

torture: Don't try to offline the last CPU



If there is only one online CPU, it doesn't make sense to try to offline
it, as any such attempt is guaranteed to fail.  This commit therefore
check for this condition and refuses to attempt the nonsensical.

Reported-by: default avatarSu Yue <suy.fnst@cn.fujitsu.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
Tested-By: default avatarSu Yue <suy.fnst@cn.fujitsu.com>
parent 9e98c678
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment