Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 Get rid of pcb_flags; nothing was using i...
details: https://anonhg.NetBSD.org/src/rev/1c80ea191e98
branches: trunk
changeset: 537950:1c80ea191e98
user: fvdl <fvdl%NetBSD.org@localhost>
date: Tue Oct 08 20:17:09 2002 +0000
description:
Get rid of pcb_flags; nothing was using it except for initialising it
to 0.
diffstat:
sys/arch/i386/i386/machdep.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r db2e4a839f16 -r 1c80ea191e98 sys/arch/i386/i386/machdep.c
--- a/sys/arch/i386/i386/machdep.c Tue Oct 08 20:17:06 2002 +0000
+++ b/sys/arch/i386/i386/machdep.c Tue Oct 08 20:17:09 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.489 2002/10/05 21:20:27 fvdl Exp $ */
+/* $NetBSD: machdep.c,v 1.490 2002/10/08 20:17:09 fvdl Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.489 2002/10/05 21:20:27 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.490 2002/10/08 20:17:09 fvdl Exp $");
#include "opt_cputype.h"
#include "opt_ddb.h"
@@ -597,7 +597,6 @@
cpu_info_primary.ci_curpcb = pcb = &proc0.p_addr->u_pcb;
- pcb->pcb_flags = 0;
pcb->pcb_tss.tss_ioopt =
((caddr_t)pcb->pcb_iomap - (caddr_t)&pcb->pcb_tss) << 16;
@@ -626,7 +625,6 @@
int x;
struct pcb *pcb = ci->ci_idle_pcb;
- pcb->pcb_flags = 0;
pcb->pcb_tss.tss_ioopt =
((caddr_t)pcb->pcb_iomap - (caddr_t)&pcb->pcb_tss) << 16;
for (x = 0; x < sizeof(pcb->pcb_iomap) / 4; x++)
@@ -2599,7 +2597,6 @@
#endif
p->p_md.md_flags &= ~MDP_USEDFPU;
- pcb->pcb_flags = 0;
if (i386_use_fxsave) {
pcb->pcb_savefpu.sv_xmm.sv_env.en_cw = __NetBSD_NPXCW__;
pcb->pcb_savefpu.sv_xmm.sv_env.en_mxcsr = __INITIAL_MXCSR__;
Home |
Main Index |
Thread Index |
Old Index