|
@@ -1023,7 +1023,7 @@ out_mdbgen:
|
|
static int __cpuinit dbg_reset_notify(struct notifier_block *self,
|
|
static int __cpuinit dbg_reset_notify(struct notifier_block *self,
|
|
unsigned long action, void *cpu)
|
|
unsigned long action, void *cpu)
|
|
{
|
|
{
|
|
- if (action == CPU_ONLINE)
|
|
|
|
|
|
+ if ((action & ~CPU_TASKS_FROZEN) == CPU_ONLINE)
|
|
smp_call_function_single((int)cpu, reset_ctrl_regs, NULL, 1);
|
|
smp_call_function_single((int)cpu, reset_ctrl_regs, NULL, 1);
|
|
|
|
|
|
return NOTIFY_OK;
|
|
return NOTIFY_OK;
|