From 2c11d3882729fdec185924ac9b819e058aa36758 Mon Sep 17 00:00:00 2001 From: mrg Date: Sat, 27 Nov 1999 14:54:53 +0000 Subject: [PATCH] add some missing #ifdef SUN4M to the MP-handling code. --- sys/arch/sparc/sparc/cpu.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/arch/sparc/sparc/cpu.c b/sys/arch/sparc/sparc/cpu.c index 8ccb3add646c..72aa098383f7 100644 --- a/sys/arch/sparc/sparc/cpu.c +++ b/sys/arch/sparc/sparc/cpu.c @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.c,v 1.95 1999/11/13 00:32:14 thorpej Exp $ */ +/* $NetBSD: cpu.c,v 1.96 1999/11/27 14:54:53 mrg Exp $ */ /* * Copyright (c) 1996 @@ -413,12 +413,12 @@ extern void cpu_hatch __P((void)); } printf("CPU did not spin up\n"); #endif - return; } void mp_pause_cpus() { +#ifdef SUN4M int n; for (n = 0; n < ncpu; n++) { @@ -430,11 +430,13 @@ mp_pause_cpus() cpi->msg.tag = XPMSG_PAUSECPU; raise_ipi(cpi); } +#endif } void mp_resume_cpus() { +#ifdef SUN4M int n; for (n = 0; n < ncpu; n++) { @@ -446,6 +448,7 @@ mp_resume_cpus() cpi->msg.tag = XPMSG_RESUMECPU; raise_ipi(cpi); } +#endif } /*