|
@@ -1129,8 +1129,12 @@ rcu_torture_init(void)
|
|
|
break;
|
|
|
}
|
|
|
if (i == ARRAY_SIZE(torture_ops)) {
|
|
|
- printk(KERN_ALERT "rcutorture: invalid torture type: \"%s\"\n",
|
|
|
+ printk(KERN_ALERT "rcu-torture: invalid torture type: \"%s\"\n",
|
|
|
torture_type);
|
|
|
+ printk(KERN_ALERT "rcu-torture types:");
|
|
|
+ for (i = 0; i < ARRAY_SIZE(torture_ops); i++)
|
|
|
+ printk(KERN_ALERT " %s", torture_ops[i]->name);
|
|
|
+ printk(KERN_ALERT "\n");
|
|
|
mutex_unlock(&fullstop_mutex);
|
|
|
return -EINVAL;
|
|
|
}
|