Exemple #1
0
void machine_halt(void)
{
	if (!in_interrupt() || oops_in_progress)
		/*
		 * Only unblank the console if we are called in enabled
		 * context or a bust_spinlocks cleared the way for us.
		 */
		console_unblank();
	_machine_halt();
}
Exemple #2
0
void machine_halt(void)
{
	if (_machine_halt)
		_machine_halt();

#ifdef CONFIG_SMP
	preempt_disable();
	smp_send_stop();
#endif
	local_irq_disable();
	while (1);
}
Exemple #3
0
void machine_halt(void)
{
	_machine_halt();
}
Exemple #4
0
void machine_halt(void)
{
	if (_machine_halt)
		_machine_halt();
}