atomic_t hlt_counter = ATOMIC_INIT(0);
-unsigned long boot_option_idle_override = 0;
-EXPORT_SYMBOL(boot_option_idle_override);
-
/*
* Powermanagement idle function, if any..
*/
pm_idle = poll_idle;
}
- boot_option_idle_override = 1;
return 1;
}
show_trace(®s->rsp);
}
-EXPORT_SYMBOL_GPL(show_regs);
-
/*
* Free current thread data structures etc..
*/
if (rsp == ~0UL) {
childregs->rsp = (unsigned long)childregs;
}
+ p->set_child_tid = p->clear_child_tid = NULL;
p->thread.rsp = (unsigned long) childregs;
p->thread.rsp0 = (unsigned long) (childregs+1);
if (IS_ERR(filename))
return error;
error = do_execve(filename, argv, envp, ®s);
- if (error == 0) {
- task_lock(current);
+ if (error == 0)
current->ptrace &= ~PT_DTRACE;
- task_unlock(current);
- }
putname(filename);
return error;
}