示例#1
0
文件: setup.c 项目: ANFS/ANFS-kernel
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();
}
示例#2
0
文件: reset.c 项目: 0-T-0/ps4-linux
void machine_halt(void)
{
	if (_machine_halt)
		_machine_halt();

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