No need to wait on primary CPU in sparc64_ipi_halt_thiscpu with recent
openfirmware_exit changes.
This commit is contained in:
parent
8b672b3568
commit
14f4cae1dc
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ipifuncs.c,v 1.21 2008/04/28 20:23:37 martin Exp $ */
|
||||
/* $NetBSD: ipifuncs.c,v 1.22 2008/05/31 08:00:34 nakayama Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2004 The NetBSD Foundation, Inc.
|
||||
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ipifuncs.c,v 1.21 2008/04/28 20:23:37 martin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ipifuncs.c,v 1.22 2008/05/31 08:00:34 nakayama Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
|
||||
@ -79,8 +79,6 @@ sparc64_ipi_halt_thiscpu(void *arg)
|
||||
|
||||
printf("cpu%d: shutting down\n", cpu_number());
|
||||
CPUSET_ADD(cpus_halted, cpu_number());
|
||||
if (CPU_IS_PRIMARY(curcpu()))
|
||||
DELAY(1000000); /* XXX - wait for interrupter's halt */
|
||||
prom_stopself();
|
||||
|
||||
return(1);
|
||||
|
Loading…
Reference in New Issue
Block a user