diff options
Diffstat (limited to 'sys/arch/m88k/include')
-rw-r--r-- | sys/arch/m88k/include/cpu.h | 7 | ||||
-rw-r--r-- | sys/arch/m88k/include/pmap.h | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/sys/arch/m88k/include/cpu.h b/sys/arch/m88k/include/cpu.h index 5b9130d3ef9..f8d0aa987ee 100644 --- a/sys/arch/m88k/include/cpu.h +++ b/sys/arch/m88k/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.48 2009/04/19 17:56:13 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.49 2009/05/02 14:32:27 miod Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * Copyright (c) 1992, 1993 @@ -83,13 +83,16 @@ * Per-CPU data structure */ +struct pmap; + struct cpu_info { u_int ci_flags; #define CIF_ALIVE 0x01 /* cpu initialized */ #define CIF_PRIMARY 0x02 /* primary cpu */ struct proc *ci_curproc; /* current process... */ - struct pcb *ci_curpcb; /* ...and its pcb */ + struct pcb *ci_curpcb; /* ...its pcb... */ + struct pmap *ci_curpmap; /* ...and its pmap */ u_int ci_cpuid; /* cpu number */ diff --git a/sys/arch/m88k/include/pmap.h b/sys/arch/m88k/include/pmap.h index bafd1b2f303..7561a9a5e78 100644 --- a/sys/arch/m88k/include/pmap.h +++ b/sys/arch/m88k/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.13 2009/03/04 19:39:02 miod Exp $ */ +/* $OpenBSD: pmap.h,v 1.14 2009/05/02 14:32:27 miod Exp $ */ /* * Mach Operating System * Copyright (c) 1991 Carnegie Mellon University @@ -27,8 +27,6 @@ struct pmap { sdt_entry_t *pm_stab; /* virtual pointer to sdt */ apr_t pm_apr; int pm_count; /* reference count */ - /* cpus using of this pmap; NCPU must be <= 32 */ - u_int32_t pm_cpus; #ifdef MULTIPROCESSOR __cpu_simple_lock_t pm_lock; #endif |