diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-11-06 21:42:57 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-11-06 21:42:57 +0000 |
commit | ba416710b9c76049b048214a4d74b14973c2e019 (patch) | |
tree | 511ee5c2aa536bc5e4527d2c399f3f2594b06b69 /sys/arch/m88k | |
parent | 21f8fd673c0b6267dd6bcfd06e73e7cff03acf5d (diff) |
Remove the now unused idle_u, and call the secondary processors startup
stack a startup stack.
Diffstat (limited to 'sys/arch/m88k')
-rw-r--r-- | sys/arch/m88k/include/cpu.h | 4 | ||||
-rw-r--r-- | sys/arch/m88k/m88k/genassym.cf | 6 | ||||
-rw-r--r-- | sys/arch/m88k/m88k/m88k_machdep.c | 4 |
3 files changed, 6 insertions, 8 deletions
diff --git a/sys/arch/m88k/include/cpu.h b/sys/arch/m88k/include/cpu.h index 2b3e95e81a2..b6b5e6d479a 100644 --- a/sys/arch/m88k/include/cpu.h +++ b/sys/arch/m88k/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.27 2007/10/29 19:57:46 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.28 2007/11/06 21:42:56 miod Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * Copyright (c) 1992, 1993 @@ -95,7 +95,7 @@ struct cpu_info { struct schedstate_percpu ci_schedstate; /* scheduling state */ int ci_want_resched; /* need_resched() invoked */ - struct pcb *ci_idle_pcb; /* idle pcb (and stack) */ + vaddr_t ci_init_stack; /* startup stack */ u_int ci_intrdepth; /* interrupt depth */ diff --git a/sys/arch/m88k/m88k/genassym.cf b/sys/arch/m88k/m88k/genassym.cf index 2afe41589d1..bc3a96c2e71 100644 --- a/sys/arch/m88k/m88k/genassym.cf +++ b/sys/arch/m88k/m88k/genassym.cf @@ -1,4 +1,4 @@ -# $OpenBSD: genassym.cf,v 1.9 2007/10/10 15:53:52 art Exp $ +# $OpenBSD: genassym.cf,v 1.10 2007/11/06 21:42:56 miod Exp $ # # Copyright (c) 1982, 1990 The Regents of the University of California. # All rights reserved. @@ -28,7 +28,7 @@ # SUCH DAMAGE. # # @(#)genassym.c 7.8 (Berkeley) 5/7/91 -# $Id: genassym.cf,v 1.9 2007/10/10 15:53:52 art Exp $ +# $Id: genassym.cf,v 1.10 2007/11/06 21:42:56 miod Exp $ # include <sys/param.h> @@ -65,7 +65,7 @@ member ci_pfsr_i0 member ci_pfsr_i1 member ci_pfsr_d0 member ci_pfsr_d1 -member ci_idle_pcb +member ci_init_stack member ci_want_resched # general constants diff --git a/sys/arch/m88k/m88k/m88k_machdep.c b/sys/arch/m88k/m88k/m88k_machdep.c index a6a90aec410..fbd05d1e5dd 100644 --- a/sys/arch/m88k/m88k/m88k_machdep.c +++ b/sys/arch/m88k/m88k/m88k_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: m88k_machdep.c,v 1.25 2007/10/29 19:57:48 miod Exp $ */ +/* $OpenBSD: m88k_machdep.c,v 1.26 2007/11/06 21:42:56 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -275,7 +275,6 @@ void set_cpu_number(cpuid_t number) { struct cpu_info *ci; - extern struct pcb idle_u; #ifdef MULTIPROCESSOR ci = &m88k_cpus[number]; @@ -292,7 +291,6 @@ set_cpu_number(cpuid_t number) #endif { ci->ci_primary = 1; - ci->ci_idle_pcb = &idle_u; } } |