|
@@ -1399,7 +1399,7 @@ rcu_torture_shutdown(void *arg)
|
|
* Execute random CPU-hotplug operations at the interval specified
|
|
* Execute random CPU-hotplug operations at the interval specified
|
|
* by the onoff_interval.
|
|
* by the onoff_interval.
|
|
*/
|
|
*/
|
|
-static int
|
|
|
|
|
|
+static int __cpuinit
|
|
rcu_torture_onoff(void *arg)
|
|
rcu_torture_onoff(void *arg)
|
|
{
|
|
{
|
|
int cpu;
|
|
int cpu;
|
|
@@ -1447,7 +1447,7 @@ rcu_torture_onoff(void *arg)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-static int
|
|
|
|
|
|
+static int __cpuinit
|
|
rcu_torture_onoff_init(void)
|
|
rcu_torture_onoff_init(void)
|
|
{
|
|
{
|
|
if (onoff_interval <= 0)
|
|
if (onoff_interval <= 0)
|