Remove IPI_HALT to make way for a more correct fix for halts and restarts
on SMP alphas.
This commit is contained in:
parent
1c94cee872
commit
6937ca29dc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81611
@ -1619,14 +1619,6 @@ cpu_boot(int howto)
|
||||
void
|
||||
cpu_halt(void)
|
||||
{
|
||||
#ifdef SMP
|
||||
printf("sending IPI_HALT to other processors\n");
|
||||
DELAY(1000000);
|
||||
ipi_all_but_self(IPI_HALT);
|
||||
DELAY(1000000);
|
||||
printf("Halting Self\n");
|
||||
DELAY(1000000);
|
||||
#endif
|
||||
prom_halt(1);
|
||||
}
|
||||
|
||||
|
@ -476,9 +476,6 @@ smp_handle_ipi(struct trapframe *frame)
|
||||
atomic_clear_int(&started_cpus, cpumask);
|
||||
atomic_clear_int(&stopped_cpus, cpumask);
|
||||
break;
|
||||
case IPI_HALT:
|
||||
prom_halt(1);
|
||||
/* NOTREACHED */
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -95,9 +95,6 @@
|
||||
#include <vm/vm_extern.h>
|
||||
|
||||
#include <sys/user.h>
|
||||
#ifdef SMP
|
||||
#include <machine/smp.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* quick version of vm_fault
|
||||
@ -391,14 +388,6 @@ vunmapbuf(bp)
|
||||
void
|
||||
cpu_reset()
|
||||
{
|
||||
#ifdef SMP
|
||||
printf("sending IPI_HALT to other processors\n");
|
||||
DELAY(1000000);
|
||||
ipi_all_but_self(IPI_HALT);
|
||||
DELAY(1000000);
|
||||
printf("Rebooting Self\n");
|
||||
DELAY(1000000);
|
||||
#endif
|
||||
prom_halt(0);
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
#define IPI_AST 0x0004
|
||||
#define IPI_CHECKSTATE 0x0008
|
||||
#define IPI_STOP 0x0010
|
||||
#define IPI_HALT 0x1000
|
||||
|
||||
#ifndef LOCORE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user