Fix small glitches to make SMP kernels compile again.
This commit is contained in:
parent
aa44da4009
commit
d0c69e4d18
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cpu.h,v 1.44 2004/06/18 00:05:05 petrov Exp $ */
|
||||
/* $NetBSD: cpu.h,v 1.45 2004/06/18 12:51:39 martin Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -307,7 +307,7 @@ void intr_establish __P((int level, struct intrhand *));
|
||||
paddr_t cpu_alloc __P((void));
|
||||
void cpu_start __P((int));
|
||||
|
||||
#define mp_pause_cpus() sparc64_ipi_pause((void*)0)
|
||||
#define mp_pause_cpus() sparc64_ipi_pause_cpus()
|
||||
#define mp_resume_cpus() sparc64_ipi_resume_cpus()
|
||||
|
||||
/* disksubr.c */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ofw_machdep.c,v 1.24 2004/06/02 20:23:35 martin Exp $ */
|
||||
/* $NetBSD: ofw_machdep.c,v 1.25 2004/06/18 12:51:39 martin Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1996 Wolfgang Solfrank.
|
||||
@ -32,7 +32,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ofw_machdep.c,v 1.24 2004/06/02 20:23:35 martin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ofw_machdep.c,v 1.25 2004/06/18 12:51:39 martin Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/buf.h>
|
||||
@ -586,6 +586,7 @@ prom_startcpu(u_int cpu, void *func, u_long arg)
|
||||
void
|
||||
prom_stopself(void)
|
||||
{
|
||||
extern void openfirmware_exit(void*);
|
||||
static struct {
|
||||
cell_t name;
|
||||
cell_t nargs;
|
||||
|
Loading…
Reference in New Issue
Block a user