|
@@ -135,9 +135,8 @@ static void clear_os_lock(void *unused)
|
|
static int os_lock_notify(struct notifier_block *self,
|
|
static int os_lock_notify(struct notifier_block *self,
|
|
unsigned long action, void *data)
|
|
unsigned long action, void *data)
|
|
{
|
|
{
|
|
- int cpu = (unsigned long)data;
|
|
|
|
if ((action & ~CPU_TASKS_FROZEN) == CPU_ONLINE)
|
|
if ((action & ~CPU_TASKS_FROZEN) == CPU_ONLINE)
|
|
- smp_call_function_single(cpu, clear_os_lock, NULL, 1);
|
|
|
|
|
|
+ clear_os_lock(NULL);
|
|
return NOTIFY_OK;
|
|
return NOTIFY_OK;
|
|
}
|
|
}
|
|
|
|
|