Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/sommerfeld_i386mp_1]: src/sys/arch/i386/isa GC dead code.



details:   https://anonhg.NetBSD.org/src/rev/b701378cf0b9
branches:  sommerfeld_i386mp_1
changeset: 482262:b701378cf0b9
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Fri Aug 18 13:30:08 2000 +0000

description:
GC dead code.

diffstat:

 sys/arch/i386/isa/npx.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r cc4544b0688a -r b701378cf0b9 sys/arch/i386/isa/npx.c
--- a/sys/arch/i386/isa/npx.c   Fri Aug 18 13:29:40 2000 +0000
+++ b/sys/arch/i386/isa/npx.c   Fri Aug 18 13:30:08 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npx.c,v 1.70.8.6 2000/08/18 03:24:52 sommerfeld Exp $  */
+/*     $NetBSD: npx.c,v 1.70.8.7 2000/08/18 13:30:08 sommerfeld Exp $  */
 
 #if 0
 #define IPRINTF(x)     printf x
@@ -532,8 +532,7 @@
                    save ? I386_IPI_SYNCH_FPU : I386_IPI_FLUSH_FPU);
                
                spincount = 0;
-               while ((p->p_addr->u_pcb.pcb_fpcpu != NULL)
-                   /* && (oci->ci_fpcurproc == p) */)
+               while (p->p_addr->u_pcb.pcb_fpcpu != NULL)
                {
                        spincount++;
                        delay(1000); /* XXX */
@@ -541,9 +540,6 @@
                                panic("fp_save ipi didn't");
                        }
                }
-#if 0
-               KDASSERT (p->p_addr->u_pcb.pcb_fpcpu == NULL);
-#endif
        }
 #else
        KASSERT(fpcurproc == p);



Home | Main Index | Thread Index | Old Index